webcrypto 0.5.5 copy "webcrypto: ^0.5.5" to clipboard
webcrypto: ^0.5.5 copied to clipboard

Cross-platform implementation of Web Cryptography APIs for Flutter.

69
likes
120/ 140
pub points
90%
popularity

We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

100 out of 133 API elements (75.2 %) have documentation comments.

Some symbols that are missing documentation: webcrypto.AesGcmSecretKey, webcrypto.AesGcmSecretKey.decryptBytes, webcrypto.AesGcmSecretKey.encryptBytes, webcrypto.AesGcmSecretKey.exportJsonWebKey, webcrypto.AesGcmSecretKey.exportRawKey.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 52 issues. Showing the first 2:

INFO: 'messenger' is deprecated and shouldn't be used. This property is redundant. It returns the object on which it is called. This feature was deprecated after v1.24.0-7.0.pre.

lib/src/flutter/webcrypto_plugin.dart:41:17

   ╷
41 │       registrar.messenger,
   │                 ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter/webcrypto_plugin.dart

INFO: The part-of directive uses a library name.

lib/src/impl_ffi/impl_ffi.aes_common.dart:15:1

   ╷
15 │ part of impl_ffi;
   │ ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/impl_ffi/impl_ffi.aes_common.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
ffi ^2.0.0 2.1.2 2.1.2
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
js ^0.6.3 0.6.7 0.7.1
meta ^1.3.0 1.12.0 1.15.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.6.3` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.

69
likes
120
pub points
90%
popularity

Publisher

verified publishergoogle.dev

Cross-platform implementation of Web Cryptography APIs for Flutter.

Repository (GitHub)
View/report issues
Contributing

Topics

#crypto

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

ffi, flutter, flutter_web_plugins, js, meta

More

Packages that depend on webcrypto