|
|
@ -41,7 +41,6 @@ typedef Argon2Hash = Pointer<Utf8> Function( |
|
|
|
|
|
|
|
|
|
|
|
class Argon2Test implements Argon2 { |
|
|
|
class Argon2Test implements Argon2 { |
|
|
|
Argon2Test() { |
|
|
|
Argon2Test() { |
|
|
|
// final argon2lib = DynamicLibrary.open('libargon2.1.dylib'); |
|
|
|
|
|
|
|
final argon2lib = Platform.isMacOS |
|
|
|
final argon2lib = Platform.isMacOS |
|
|
|
? DynamicLibrary.open('libargon2_ffi.dylib') |
|
|
|
? DynamicLibrary.open('libargon2_ffi.dylib') |
|
|
|
: DynamicLibrary.open('libargon2_ffi.so'); |
|
|
|
: DynamicLibrary.open('libargon2_ffi.so'); |
|
|
|