native_crypto 0.8.1
native_crypto: ^0.8.1 copied to clipboard
Fast AES, MD5, SHA and HMAC cryptographic functions, using built-in system API, with hardware-acceleration (if supported).
We analyzed this package 15 hours ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/jakky1/flutter_native_crypto/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
22 out of 70 API elements (31.4 %) have documentation comments.
Some symbols that are missing documentation: native_crypto
, native_crypto.NCDigest
, native_crypto.NCDigest.bytes
, native_crypto.NCDigest.hexString
, native_crypto.NCrypto
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ Windows
-
✓ Linux
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:native_crypto/native_crypto.dart
that declares support for platforms:Android
,Windows
,Linux
.
Package does not support platform `macOS`.
Because:
package:native_crypto/native_crypto.dart
that declares support for platforms:Android
,Windows
,Linux
.
Package does not support platform `Web`.
Because:
package:native_crypto/native_crypto.dart
that declares support for platforms:Android
,Windows
,Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:native_crypto/native_crypto.dart
that imports:package:native_crypto/native_crypto_bindings_generated.dart
that imports:dart:ffi
This package is not compatible with runtime wasm
, and will not be rewarded full 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 19 issues. Showing the first 2:
INFO: The variable name '_SecretKeySpec' isn't a lowerCamelCase identifier.
lib/android_impl.dart:3:7
╷
3 │ final _SecretKeySpec = jni.JClass.forName(
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/android_impl.dart
INFO: The variable name '_SecretKeySpec_constructor' isn't a lowerCamelCase identifier.
lib/android_impl.dart:6:7
╷
6 │ final _SecretKeySpec_constructor = _SecretKeySpec.constructorId(
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/android_impl.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
ffi |
^2.1.3 |
2.1.4 | 2.1.4 | |
jni |
^0.14.2 |
0.14.2 | 0.14.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.23
, Flutter 3.35.3
, Dart 3.9.2
.
Check the analysis log for details.