argon2 1.0.1 copy "argon2: ^1.0.1" to clipboard
argon2: ^1.0.1 copied to clipboard

Pure Dart Argon2 algorithm (the winner of the Password Hash Competition 2015) for all Dart platforms (JS/Web, Flutter, VM/Native).

17
likes
120/ 160
pub points
6.74k
downloads

We analyzed this package 9 days ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

13 out of 72 API elements (18.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: argon2.Argon2BytesGenerator.ARGON2_ADDRESSES_IN_BLOCK, argon2.Argon2BytesGenerator.ARGON2_BLOCK_SIZE, argon2.Argon2BytesGenerator.ARGON2_PREHASH_DIGEST_LENGTH, argon2.Argon2BytesGenerator.ARGON2_PREHASH_SEED_LENGTH, argon2.Argon2BytesGenerator.ARGON2_QWORDS_IN_BLOCK.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

WARNING: A value for optional parameter 'pass' isn't ever given.

lib/src/argon2_base.dart:659:19

659 │   _Position([this.pass = 0, this.lane = 0, this.slice = 0]);
    │                   ^^^^
    ╵
copied to clipboard

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

WARNING: A value for optional parameter 'lane' isn't ever given.

lib/src/argon2_base.dart:659:34

659 │   _Position([this.pass = 0, this.lane = 0, this.slice = 0]);
    │                                  ^^^^
    ╵
copied to clipboard

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
hex ^0.2.0 0.2.0 0.2.0
pointycastle ^3.1.2 3.9.1 4.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
js - 0.7.2 0.7.2 Discontinued
typed_data - 1.4.0 1.4.0

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

The constraint `^3.1.2` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 10Aug 7Sep 4Oct 2Oct 30Nov 27Dec 25Jan 22Feb 19Mar 1905001k1.5k2k2.5k3k>=1.0.0-0 <2.0.0
17
likes
120
points
6.74k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.26 - 2025.04.10

Pure Dart Argon2 algorithm (the winner of the Password Hash Competition 2015) for all Dart platforms (JS/Web, Flutter, VM/Native).

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

hex, pointycastle

More

Packages that depend on argon2