native_crypto 0.8.1 copy "native_crypto: ^0.8.1" to clipboard
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).

150/ 160
pub points
144
downloads

We analyzed this package 15 hours ago, and awarded it 150 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 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.

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: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

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

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 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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

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.23, Flutter 3.35.3, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
150
points
144
downloads

Publisher

unverified uploader

Weekly Downloads

Fast AES, MD5, SHA and HMAC cryptographic functions, using built-in system API, with hardware-acceleration (if supported).

Repository (GitHub)
View/report issues

Topics

#aes #md5 #sha #crypto #ffi

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi, jni

More

Packages that depend on native_crypto

Packages that implement native_crypto