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

5
likes
90 / 110
pub points
88 %
popularity

We analyzed this package on Sep 30, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 7 out of 8 API elements (87.5 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 28 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/dbcrypt.dart:67:29

   ╷
67 │   final Int32List _P_orig = new Int32List(18);
   │                             ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/dbcrypt.dart

INFO: Unnecessary new keyword.

lib/dbcrypt.dart:69:29

   ╷
69 │   final Int32List _S_orig = new Int32List(1024);
   │                             ^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/dbcrypt.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

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