dbcrypt 1.0.0

Dart native js
Flutter Android iOS web

A port of jBCrypt to Dart. It allows to encrypt passwords using BCrypt with a configurable work factor to make it more expensive to create (and secure) as machines get faster. It also allows to check

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  dbcrypt: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:dbcrypt/dbcrypt.dart';
5
likes
90
pub points
88%
popularity

A port of jBCrypt to Dart. It allows to encrypt passwords using BCrypt with a configurable work factor to make it more expensive to create (and secure) as machines get faster. It also allows to check passwords that have been encrypted using the original BCrypt algorithm and it's a, y and b revisions.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

erlantz8@gmail.com

License

BSD (LICENSE)

More

Packages that depend on dbcrypt