gainer_crypto 0.0.5 copy "gainer_crypto: ^0.0.5" to clipboard
gainer_crypto: ^0.0.5 copied to clipboard

A Library that can produce Cryptographic hash or can encrypt and decrypt text with key.

7
likes
130/ 160
pub points
70%
popularity

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

failed
Follow Dart file conventions
20 / 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

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting gainer_crypto... Discovering libraries... Linking elements... Precaching local docs for 141245 elements... Initialized dartdoc with 335 libraries Generating docs for library gainer_crypto.dart from package:gainer_crypto/gainer_crypto.dart... Generating docs for library crypto_advanced.dart from package:gainer_crypto/crypto_advanced.dart... Generating docs for library encrypt_decrypt.dart from package:gainer_crypto/encrypt_decrypt.dart... Generating docs for library crypto.dart from package:gainer_crypto/crypto.dart... Documented 4 public libraries in 37.6 seconds ERR: warning: ambiguous reexport of hash.grHashString, canonicalization candidates: (gainer_crypto, gainer_crypto) -> gainer_crypto (confidence 0.000) from hash.grHashString: (file:///tmp/pana_LJSYNY/lib/src/crypto/hash.dart:21:8) gainer_crypto: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) gainer_crypto: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor hash.grHashString} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [340 more lines]

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:gainer_crypto/gainer_crypto.dart that imports:
  • package:gainer_crypto/src/encrypt_decrypt/rsa_signature.dart that imports:
  • package:encrypt/encrypt_io.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:gainer_crypto/gainer_crypto.dart that imports:
  • package:gainer_crypto/src/encrypt_decrypt/rsa_signature.dart that imports:
  • package:encrypt/encrypt_io.dart that imports:
  • dart:io

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Unnecessary cast.

lib/src/crypto/hash/pointycastle_converter.dart:21:24

   ╷
21 │     conv.digest.update(chunk as Uint8List, 0, chunk.length);
   │                        ^^^^^^^^^^^^^^^^^^
   ╵

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

/tmp/pana_LJSYNY/lib/src/encrypt_decrypt/aes.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
convert ^3.0.2 3.1.2 3.1.2
crypto ^3.0.2 3.0.6 3.0.6
encrypt ^5.0.1 5.0.3 5.0.3
flutter flutter 0.0.0 0.0.0
pointycastle ^3.6.0 3.9.1 3.9.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
js - 0.7.1 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
sky_engine - 0.0.99 0.0.99
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4

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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

7
likes
130
pub points
70%
popularity

Publisher

verified publishergnrtech.in

A Library that can produce Cryptographic hash or can encrypt and decrypt text with key.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

convert, crypto, encrypt, flutter, pointycastle

More

Packages that depend on gainer_crypto