turnkey_crypto 0.1.1
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.
We analyzed this package 5 days ago, and awarded it 120 pub points (of a possible 160):
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
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0
.
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
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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.
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
╷
3 │ final HPKE_VERSION =
│ ^^^^^^^^^^^^
╵
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
╷
6 │ final SUITE_ID_1 = Uint8List.fromList([75, 69, 77, 0, 16]); //KEM suite ID
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/constant.dart
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.