turnkey_crypto 0.1.1 copy "turnkey_crypto: ^0.1.1" to clipboard
turnkey_crypto: ^0.1.1 copied to clipboard

This package consolidates some common cryptographic utilities used across our applications, particularly primitives related to keys, encryption, and decryption in a pure Dart implementation.

1
likes
120/ 160
pub points
53
downloads

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

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

Failed check 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.

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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

6 out of 7 API elements (85.7 %) have documentation comments.

Some symbols that are missing documentation: turnkey_crypto.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

INFO: The variable name 'HPKE_VERSION' isn't a lowerCamelCase identifier.

lib/src/constant.dart:3:7

3final HPKE_VERSION =
  │       ^^^^^^^^^^^^
  ╵
copied to clipboard

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

INFO: The variable name 'SUITE_ID_1' isn't a lowerCamelCase identifier.

lib/src/constant.dart:6:7

6final SUITE_ID_1 = Uint8List.fromList([75, 69, 77, 0, 16]); //KEM suite ID
  │       ^^^^^^^^^^
  ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/constant.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
base58check ^2.0.0 2.0.0 2.0.0
bs58 ^1.0.2 1.0.2 1.0.2
cryptography ^2.7.0 2.7.0 2.7.0
pointycastle ^3.9.0 3.9.1 4.0.0
turnkey_encoding ^0.1.0 0.1.0 0.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
base_x - 2.0.1 2.0.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
js - 0.6.7 0.7.2 Discontinued
meta - 1.16.0 1.16.0
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.9.0` 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 1Jul 29Aug 26Sep 23Oct 21Nov 18Dec 16Jan 13Feb 10Mar 10020406080100120140160>=0.0.0-0 <1.0.0
1
likes
120
points
53
downloads

Publisher

verified publisherturnkey.com

Weekly Downloads

2024.09.16 - 2025.03.31

This package consolidates some common cryptographic utilities used across our applications, particularly primitives related to keys, encryption, and decryption in a pure Dart implementation.

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

base58check, bs58, cryptography, pointycastle, turnkey_encoding

More

Packages that depend on turnkey_crypto