Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 621 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 621 Bytes

password_hash_plus

pub package

This plugin is a null-safety version of password_hash, you can use it if you need Flutter 2.x and above.

Implements PBKDF2 algorithm for securely hashing passwords.

Preparing for use

Version constraints

  sdk: ">=2.17.0 <3.0.0"
  flutter: ">=3.0.0"

Usage:

var generator = new PBKDF2();
var salt = Salt.generateAsBase64String();
var hash = generator.generateKey("mytopsecretpassword", salt, 1000, 32);