flutter_sodium 0.2.0 copy "flutter_sodium: ^0.2.0" to clipboard
flutter_sodium: ^0.2.0 copied to clipboard

discontinuedreplaced by: sodium_libs
PlatformAndroidiOS

Flutter bindings for libsodium, a modern, easy-to-use crypto library.

example/example.md

import 'package:flutter_sodium/flutter_sodium.dart';

// initialize sodium (one-time)
Sodium.init();

// Password hashing (using Argon)
final password = 'my password';
final str = PasswordHash.hashStringStorage(password);

print(str);

// verify hash str
final valid = PasswordHash.verifyStorage(str, password);

assert(valid);
25
likes
140
pub points
79%
popularity

Publisher

verified publisherfirstfloorsoftware.com

Flutter bindings for libsodium, a modern, easy-to-use crypto library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi, flutter

More

Packages that depend on flutter_sodium