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 18 hours ago, and awarded it 150 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
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.dartthat declares support for platforms:Android,Windows,Linux.
Package does not support platform `macOS`.
Because:
package:native_crypto/native_crypto.dartthat declares support for platforms:Android,Windows,Linux.
Package does not support platform `Web`.
Because:
package:native_crypto/native_crypto.dartthat declares support for platforms:Android,Windows,Linux.
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.15.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.
The constraint `^0.14.2` on jni does not support the stable version `0.15.0`, that was published 13 days ago.
When jni is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions jni 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.2, Flutter 3.38.1, Dart 3.10.0.
Check the analysis log for details.