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.

110/ 160
pub points
39
downloads

We analyzed this package 25 days ago, and awarded it 110 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 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 report section
Provide documentation
10 / 20trigger folding of the section

Failed check 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 145155 elements... Initialized dartdoc with 345 libraries Generating docs for library encrypt_decrypt.dart from package:gainer_crypto/encrypt_decrypt.dart... Generating docs for library gainer_crypto.dart from package:gainer_crypto/gainer_crypto.dart... Generating docs for library crypto.dart from package:gainer_crypto/crypto.dart... Generating docs for library crypto_advanced.dart from package:gainer_crypto/crypto_advanced.dart... Documented 4 public libraries in 29.4 seconds ERR: warning: ambiguous reexport of key_generator.grKeyFromBase64, canonicalization candidates: (gainer_crypto, gainer_crypto) -> gainer_crypto (confidence 0.000) from key_generator.grKeyFromBase64: (file:///tmp/pana_ZXPAWA/lib/src/key/key_generator.dart:7:7) 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 key_generator.grKeyFromBase64} 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 [351 more lines]

Passed check 10/10 points: Package has an example

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

Passed check 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
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 19 issues. Showing the first 2:

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/crypto/hash.dart:34:25

   ╷
34 │ /// bytes stream as List<int>. This is a one-sided encryption and can't be decrypted.
   │                         ^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
convert ^3.0.2 3.1.2 3.1.2
crypto ^3.0.2 3.0.7 3.0.7
encrypt ^5.0.1 5.0.3 5.0.3
pointycastle ^3.6.0 3.9.1 4.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
js - 0.7.2 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0

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

The constraint `^3.6.0` on pointycastle does not support the stable version `4.0.0`.

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

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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
110
points
39
downloads

Publisher

verified publishergnrtech.in

Weekly Downloads

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