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

outdated

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

example/bcrypt_example.dart

// ignore_for_file: avoid_print

import 'package:bcrypt/bcrypt.dart';

void main() {
  final String passwordHashed = BCrypt.hashpw(
    'password',
    BCrypt.gensalt(),
  );
  print(passwordHashed);
  final bool checkPassword = BCrypt.checkpw(
    'password',
    '\$2a\$10\$Yh5aw8xmKr3TS1Gk2UX98Oz7PT.Qhz5nnmGBb4dnayrTitMIDTKhK',
  );
  print(checkPassword);
}
28
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