File tree 11 files changed +84
-46
lines changed
dargon2_flutter_platform_interface
11 files changed +84
-46
lines changed Original file line number Diff line number Diff line change 1
1
name : dargon2
2
2
description : Provides bindings for hashing and verifying with Argon2, the winner of the Password Hashing Competition.
3
- version : 3.0 .0
4
- homepage : https://github.com/tmthecoder/dargon2
3
+ version : 3.1 .0
4
+ homepage : https://github.com/tmthecoder/dargon2/blob/main/dargon2
5
5
repository : https://github.com/tmthecoder/dargon2
6
6
7
7
environment :
8
8
sdk : ' >=2.15.0 <3.0.0'
9
9
10
10
dependencies :
11
- dargon2_core : ' ^2.0.1 '
11
+ dargon2_core : ' ^2.1.0 '
12
12
13
13
dev_dependencies :
14
14
pedantic : ^1.9.0
Original file line number Diff line number Diff line change 1
1
name : dargon2_core
2
2
description : The bindings for argon2's C reference library. Does not include the library loading itself.
3
- version : 2.0.2
4
- homepage : https://github.com/tmthecoder/dargon2_core
5
- repository : https://github.com/tmthecoder/dargon2_core
3
+ version : 2.1.0
4
+ homepage : https://github.com/tmthecoder/dargon2/blob/main/ dargon2_core
5
+ repository : https://github.com/tmthecoder/dargon2/
6
6
7
7
environment :
8
8
sdk : ' >=2.14.0 <3.0.0'
9
9
10
10
dependencies :
11
11
ffi : ' ^1.1.2'
12
- dargon2_interface : ' ^1.0.1 '
12
+ dargon2_interface : ' ^1.1.0 '
13
13
14
14
dev_dependencies :
15
15
pedantic : ^1.10.0
Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ If you're using Objective-C for the iOS portion of your application (created wit
24
24
- (** This is the Important Step** ) Select ` Create Bridging Header ` when the prompt comes up
25
25
- You don't have to add anything to that swift file or the bridging header, but it needs to be there along with the bridging header in order for the plugin to compile correctly for iOS
26
26
27
+ ## Desktop (Linux)
28
+ When building on Linux utilizng ` dargon2_flutter ` , the C standard library must be installed.
29
+ I recommend ensuring it's installed by running ` sudo apt install build-essential ` or your distro's equivalent
30
+
31
+ Otherwise, the underlying C implementation will not build successfully, causing a cascading build failure.
32
+
27
33
## Usage
28
34
29
35
High-level hashing and verification (for direct hashing & verification of byte arrays, check the example on [ dargon2] )
Original file line number Diff line number Diff line change 1
1
name : dargon2_flutter
2
2
description : A Flutter implementation of dargon2, providing Argon2 Password Hashing functionality for mobile & web apps
3
- repository : https://github.com/tmthecoder/dargon2_flutter
4
- homepage : https://github.com/tmthecoder/dargon2_flutter
5
- version : 3.0.3
3
+ repository : https://github.com/tmthecoder/dargon2
4
+ homepage : https://github.com/tmthecoder/dargon2/blob/main/ dargon2_flutter
5
+ version : 3.1.0
6
6
7
7
environment :
8
8
sdk : " >=2.14.0 <3.0.0"
@@ -17,15 +17,23 @@ flutter:
17
17
default_package : dargon2_flutter_mobile
18
18
web :
19
19
default_package : dargon2_flutter_web
20
+ linux :
21
+ defailt_package : dargon2_flutter_desktop
22
+ macos :
23
+ defailt_package : dargon2_flutter_desktop
24
+ windows :
25
+ defailt_package : dargon2_flutter_desktop
26
+
20
27
21
28
dependencies :
22
29
flutter :
23
30
sdk : flutter
24
31
meta : ^1.3.0
25
- dargon2_flutter_mobile : ' ^3.0.3'
26
- dargon2_flutter_web : ' ^3.0.3'
27
- dargon2_flutter_platform_interface : ' ^3.0.3'
28
- dargon2_interface : ' ^1.0.1'
32
+ dargon2_flutter_mobile : ' ^3.1.0'
33
+ dargon2_flutter_desktop : ' ^3.1.0'
34
+ dargon2_flutter_web : ' ^3.1.0'
35
+ dargon2_flutter_platform_interface : ' ^3.1.0'
36
+ dargon2_interface : ' ^1.1.0'
29
37
30
38
31
39
Original file line number Diff line number Diff line change 1
1
name : dargon2_flutter_desktop
2
- description : dargon2_flutter's desktop implementation
3
- version : 0.0.1
4
- homepage :
2
+ description : The desktop (macos, windows, and linux) implementation of dargon2_flutter
3
+ version : 3.1.0
4
+ homepage : https://github.com/tmthecoder/dargon2/
5
+ repository : https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter/dargon2_flutter_desktop
5
6
6
7
environment :
7
- sdk : " >=2.15.1 <3.0.0"
8
+ sdk : " >=2.14.0 <3.0.0"
8
9
flutter : " >=2.5.0"
9
10
10
11
dependencies :
11
12
flutter :
12
13
sdk : flutter
13
- dargon2_core : ' ^2.0.2 '
14
- dargon2_flutter_platform_interface : ' ^3.0.3 '
15
- dargon2_interface : ' ^1.0.1 '
14
+ dargon2_core : ' ^2.1.0 '
15
+ dargon2_flutter_platform_interface : ' ^3.1.0 '
16
+ dargon2_interface : ' ^1.1.0 '
16
17
17
18
dev_dependencies :
18
19
flutter_test :
@@ -29,13 +30,14 @@ flutter:
29
30
# be modified. They are used by the tooling to maintain consistency when
30
31
# adding or updating assets for this project.
31
32
plugin :
33
+ implements : dargon2_flutter
32
34
platforms :
33
35
linux :
34
- pluginClass : Dargon2FlutterDesktopPlugin
36
+ dartPluginClass : DArgon2Desktop
35
37
macos :
36
- pluginClass : Dargon2FlutterDesktopPlugin
38
+ dartPluginClass : DArgon2Desktop
37
39
windows :
38
- pluginClass : Dargon2FlutterDesktopPlugin
40
+ dartPluginClass : DArgon2Desktop
39
41
40
42
# To add assets to your plugin package, add an assets section, like this:
41
43
# assets:
Original file line number Diff line number Diff line change 1
1
name : dargon2_flutter_mobile
2
2
description : The mobile (iOS & Android) platform implementation of dargon2_flutter
3
- version : 3.0.3
4
- homepage : https://github.com/tmthecoder/dargon2_flutter
5
- repository : https://github.com/tmthecoder/dargon2_flutter
3
+ version : 3.1.0
4
+ homepage : https://github.com/tmthecoder/dargon2/
5
+ repository : https://github.com/tmthecoder/dargon2/blob/main/ dargon2_flutter/dargon2_flutter_mobile
6
6
7
7
environment :
8
8
sdk : " >=2.14.0 <3.0.0"
@@ -11,9 +11,9 @@ environment:
11
11
dependencies :
12
12
flutter :
13
13
sdk : flutter
14
- dargon2_core : ' ^2.0.2 '
15
- dargon2_flutter_platform_interface : ' ^3.0.3 '
16
- dargon2_interface : ' ^1.0.1 '
14
+ dargon2_core : ' ^2.1.0 '
15
+ dargon2_flutter_platform_interface : ' ^3.1.0 '
16
+ dargon2_interface : ' ^1.1.0 '
17
17
18
18
dev_dependencies :
19
19
flutter_test :
Original file line number Diff line number Diff line change 1
1
name : dargon2_flutter_platform_interface
2
2
description : The common platform interface for the dargon2_flutter plugin.
3
- repository : https://github.com/tmthecoder/dargon2_flutter
4
- version : 3.0.3
3
+ repository : https://github.com/tmthecoder/dargon2
4
+ homepage : https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter/dargon2_flutter_platform_interface
5
+ version : 3.1.0
5
6
6
7
environment :
7
8
sdk : " >=2.14.0 <3.0.0"
@@ -11,7 +12,7 @@ dependencies:
11
12
flutter :
12
13
sdk : flutter
13
14
plugin_platform_interface : ' ^2.0.0'
14
- dargon2_interface : ' ^1.0.1 '
15
+ dargon2_interface : ' ^1.1.0 '
15
16
16
17
dev_dependencies :
17
18
flutter_test :
Original file line number Diff line number Diff line change 1
1
name : dargon2_flutter_web
2
2
description : The web (JS & WASM) platform implementation of dargon2_flutter
3
- version : 3.0.3
4
- repository : https://github.com/tmthecoder/dargon2_flutter
5
- homepage : https://github.com/tmthecoder/dargon2_flutter
3
+ version : 3.1.0
4
+ repository : https://github.com/tmthecoder/dargon2
5
+ homepage : https://github.com/tmthecoder/dargon2/blob/main/ dargon2_flutter/dargon2_flutter_web
6
6
7
7
environment :
8
8
sdk : " >=2.14.0 <3.0.0"
@@ -14,8 +14,8 @@ dependencies:
14
14
flutter_web_plugins :
15
15
sdk : flutter
16
16
js : ' ^0.6.3'
17
- dargon2_flutter_platform_interface : ' ^3.0.3 '
18
- dargon2_interface : ' ^1.0.1 '
17
+ dargon2_flutter_platform_interface : ' ^3.1.0 '
18
+ dargon2_interface : ' ^1.1.0 '
19
19
20
20
dev_dependencies :
21
21
flutter_test :
Original file line number Diff line number Diff line change
1
+ ## 1.1.0
2
+ - Fix repository & homepage links to point to newly structured repo
3
+ - Match versioning for dargon2_flutter's desktop support addition
4
+
1
5
## 1.0.1
2
6
- Bump down Dart version to 2.14 so Flutter 2.5 can use
3
7
Original file line number Diff line number Diff line change 1
1
name : dargon2_interface
2
2
description : An interface for all dargon2 hashing functions. Provides the base outline for all implementations.
3
- version : 1.0.1
4
- homepage : https://github.com/tmthecoder/dargon2_interface
5
- repository : https://github.com/tmthecoder/dargon2_interface
3
+ version : 1.1.0
4
+ homepage : https://github.com/tmthecoder/dargon2/blob/main/ dargon2_interface
5
+ repository : https://github.com/tmthecoder/dargon2
6
6
7
7
environment :
8
8
sdk : ' >=2.14.0 <3.0.0'
You can’t perform that action at this time.
0 commit comments