cipherlib 0.0.13
cipherlib: ^0.0.13 copied to clipboard
Implementations of cryptographic algorithms for encryption and decryption in Dart.
We analyzed this package 3 days ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
352 out of 401 API elements (87.8 %) have documentation comments.
Some symbols that are missing documentation: cipherlib.AEADCipher.AEADCipher.new, cipherlib.AEADCipher.createSink, cipherlib.AEADCipherSink.AEADCipherSink.new, cipherlib.AEADResultWithIV, cipherlib.AESInCBCModeDecrypt.AESInCBCModeDecrypt.new.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 59 issues. Showing the first 2:
ERROR: The method 'randomBytes' isn't defined for the type 'AESInCBCMode'.
lib/src/algorithms/aes/cbc.dart:282:12
╷
282 │ iv ??= randomBytes(16);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/algorithms/aes/cbc.dart
ERROR: The property 'length' can't be unconditionally accessed because the receiver can be 'null'.
lib/src/algorithms/aes/cbc.dart:283:12
╷
283 │ if (iv.length < 16) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/algorithms/aes/cbc.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
hashlib |
^1.20.2 |
1.24.0 | 2.3.0 | |
hashlib_codecs |
^2.6.0 |
2.6.0 | 3.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.20.2` on hashlib does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions hashlib to update the constraint.
The constraint `^2.6.0` on hashlib_codecs does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions hashlib_codecs 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.23.10, Dart 3.11.0.
Check the analysis log for details.