gdscardoso / pbkdf2

An implementation of the PBKDF2 key derivation function for Dart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pbkdf2_dart

This is an implementation of the PBKDF2 key derivation function, as defined in RFC 2898.

Usage

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

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

Build Status

About

An implementation of the PBKDF2 key derivation function for Dart

License:Other


Languages

Language:Dart 100.0%