bcrypt 1.1.1 copy "bcrypt: ^1.1.1" to clipboard
bcrypt: ^1.1.1 copied to clipboard

outdated

This package use jBCrypt modified code to work with Dart VM.

Hash your passwords with BCrypt algorithm, this is a jBCrypt modified code to work with Dart.

Features #

Use BCrypt password-hashing function to keep your system secure.

Getting started #

pub package

Only add bcrypt package to your pubspec.yaml.

dependencies:
  bcrypt: ^1.1.0

Usage #

Use Bcrypt to hash and check password.

final String hashed = BCrypt.hashpw('password', BCrypt.gensalt());
// $2a$10$r6huirn1laq6UXBVu6ga9.sHca6sr6tQl3Tiq9LB6/6LMpR37XEGu

final bool checkPassword = BCrypt.checkpw('password', hashed);
// true

Additional information #

This package is modified jBCrypt code used in Java and Spring Boot to improve security when saving passwords.

31
likes
0
pub points
96%
popularity

Publisher

verified publisheralexastudillo.com

This package use jBCrypt modified code to work with Dart VM.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on bcrypt