File tree Expand file tree Collapse file tree 11 files changed +84
-46
lines changed
dargon2_flutter_platform_interface Expand file tree Collapse file tree 11 files changed +84
-46
lines changed Original file line number Diff line number Diff line change 11name : dargon2
22description : 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
55repository : https://github.com/tmthecoder/dargon2
66
77environment :
88 sdk : ' >=2.15.0 <3.0.0'
99
1010dependencies :
11- dargon2_core : ' ^2.0.1 '
11+ dargon2_core : ' ^2.1.0 '
1212
1313dev_dependencies :
1414 pedantic : ^1.9.0
Original file line number Diff line number Diff line change 11name : dargon2_core
22description : 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/
66
77environment :
88 sdk : ' >=2.14.0 <3.0.0'
99
1010dependencies :
1111 ffi : ' ^1.1.2'
12- dargon2_interface : ' ^1.0.1 '
12+ dargon2_interface : ' ^1.1.0 '
1313
1414dev_dependencies :
1515 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
2424- (** This is the Important Step** ) Select ` Create Bridging Header ` when the prompt comes up
2525- 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
2626
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+
2733## Usage
2834
2935High-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 11name : dargon2_flutter
22description : 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
66
77environment :
88 sdk : " >=2.14.0 <3.0.0"
@@ -17,15 +17,23 @@ flutter:
1717 default_package : dargon2_flutter_mobile
1818 web :
1919 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+
2027
2128dependencies :
2229 flutter :
2330 sdk : flutter
2431 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'
2937
3038
3139
Original file line number Diff line number Diff line change 11name : 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
56
67environment :
7- sdk : " >=2.15.1 <3.0.0"
8+ sdk : " >=2.14.0 <3.0.0"
89 flutter : " >=2.5.0"
910
1011dependencies :
1112 flutter :
1213 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 '
1617
1718dev_dependencies :
1819 flutter_test :
@@ -29,13 +30,14 @@ flutter:
2930 # be modified. They are used by the tooling to maintain consistency when
3031 # adding or updating assets for this project.
3132 plugin :
33+ implements : dargon2_flutter
3234 platforms :
3335 linux :
34- pluginClass : Dargon2FlutterDesktopPlugin
36+ dartPluginClass : DArgon2Desktop
3537 macos :
36- pluginClass : Dargon2FlutterDesktopPlugin
38+ dartPluginClass : DArgon2Desktop
3739 windows :
38- pluginClass : Dargon2FlutterDesktopPlugin
40+ dartPluginClass : DArgon2Desktop
3941
4042 # To add assets to your plugin package, add an assets section, like this:
4143 # assets:
Original file line number Diff line number Diff line change 11name : dargon2_flutter_mobile
22description : 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
66
77environment :
88 sdk : " >=2.14.0 <3.0.0"
@@ -11,9 +11,9 @@ environment:
1111dependencies :
1212 flutter :
1313 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 '
1717
1818dev_dependencies :
1919 flutter_test :
Original file line number Diff line number Diff line change 11name : dargon2_flutter_platform_interface
22description : 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
56
67environment :
78 sdk : " >=2.14.0 <3.0.0"
@@ -11,7 +12,7 @@ dependencies:
1112 flutter :
1213 sdk : flutter
1314 plugin_platform_interface : ' ^2.0.0'
14- dargon2_interface : ' ^1.0.1 '
15+ dargon2_interface : ' ^1.1.0 '
1516
1617dev_dependencies :
1718 flutter_test :
Original file line number Diff line number Diff line change 11name : dargon2_flutter_web
22description : 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
66
77environment :
88 sdk : " >=2.14.0 <3.0.0"
@@ -14,8 +14,8 @@ dependencies:
1414 flutter_web_plugins :
1515 sdk : flutter
1616 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 '
1919
2020dev_dependencies :
2121 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+
15## 1.0.1
26- Bump down Dart version to 2.14 so Flutter 2.5 can use
37
You can’t perform that action at this time.
0 commit comments