pbkdf2ns 0.0.2 copy "pbkdf2ns: ^0.0.2" to clipboard
pbkdf2ns: ^0.0.2 copied to clipboard

Implementation of PBKDF2 key derivation function, this provides tools for password hashing based on RFC 2898

PBKDF2 Key Derivation Function #

This is fork of pbkdf2_dart, as defined in RFC 2898.

Usage #

// Create PBKDF2NS instance using the SHA256 hash. The default is to use SHA1
PBKDF2NS gen = PBKDF2NS(hash: sha256);

// Generate a 32 byte key using the given password and salt, with 1000 iterations
List<int> key = gen.generateKey("password", "salt", 1000, 32);

Credits #

Thanks you Sunkeun Choi for addding support to 💪🏼null safety💪🏼

4
likes
105
pub points
81%
popularity

Publisher

unverified uploader

Implementation of PBKDF2 key derivation function, this provides tools for password hashing based on RFC 2898

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

crypto

More

Packages that depend on pbkdf2ns