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);
copied to clipboard

Credits #

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

4
likes
125
points
463
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.14 - 2025.03.29

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

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

crypto

More

Packages that depend on pbkdf2ns