hasher 3.0.0-b1 copy "hasher: ^3.0.0-b1" to clipboard
hasher: ^3.0.0-b1 copied to clipboard

PBKDF2 password hashing utility

1
likes
100/ 140
pub points
4%
popularity

We analyzed this package 9 hours ago, and awarded it 100 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/aldrinsartfactory/hasher was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/aldrinsartfactory/hasher was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: hasher,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

8 out of 13 API elements (61.5 %) have documentation comments.

Some symbols that are missing documentation: hasher, pbkdf2, pbkdf2.PBKDF2.hashAlgorithm, pbkdf2.PBKDF2Exception.message, salt.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:hasher/hasher.dart that imports:
  • package:hasher/pbkdf2.dart that imports:
  • dart:ffi
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

WARNING: Unused import: 'dart:ffi'.

lib/pbkdf2.dart:2:8

  ╷
2 │ import 'dart:ffi';
  │        ^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/pbkdf2.dart

lib/hasher.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
crypto ^3.0.0 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
typed_data - 1.3.2 1.3.2

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

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.