xpx_crypto 0.0.2+2

Dart native js
Flutter Android iOS web

Official ProximaX Sirius Blockchain implementation ed26619 encryption modules for Dart.

0
likes
80 / 110
pub points
47 %
popularity

We analyzed this package on Sep 29, 2020, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/proximax-storage/xpx_crypto-dart was unreachable.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/xpx_crypto_example.dart

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

  • 15 out of 89 API elements (16.9 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 76 issues. Showing the first 2:

INFO: DO use curly braces for all flow control structures.

lib/imp/catapult_nacl.dart:669:9

    ╷
669 │         c[cpos + i] = ((m[mpos + i] ^ x[i]) & 0xff).toInt();
    │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/imp/catapult_nacl.dart

INFO: DO use curly braces for all flow control structures.

lib/imp/catapult_nacl.dart:683:9

    ╷
683 │         c[cpos + i] = ((m[mpos + i] ^ x[i]) & 0xff).toInt();
    │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/imp/catapult_nacl.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
convert^2.1.12.1.12.1.1
fixnum^0.10.90.10.110.10.11
pointycastle^1.0.11.0.21.0.2
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.1.31.1.3
collection-1.14.131.14.13
typed_data-1.2.01.2.0

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

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

0
likes
80
pub points
47%
popularity

Official ProximaX Sirius Blockchain implementation ed26619 encryption modules for Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

eleazartovar123@gmail.com
proximax.devops@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

convert, fixnum, pointycastle

More

Packages that depend on xpx_crypto