nem2_crypto 1.0.3

nem2_crypto #

ProximaX Catapult implementation ed26619 encryption modules for Dart.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  nem2_crypto: ^1.0.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:nem2_crypto/nem2_crypto.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
76
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
63
Overall:
Weighted score of the above. [more]
35
Learn more about scoring.

We analyzed this package on Aug 18, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.4.0
  • pana: 0.12.19

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:nem2_crypto/nem2_crypto.dart.

Health suggestions

Fix lib/imp/catapult_nacl.dart. (-18.17 points)

Analysis of lib/imp/catapult_nacl.dart reported 40 hints, including:

line 164 col 29: DO use curly braces for all flow control structures.

line 679 col 30: DO use curly braces for all flow control structures.

line 680 col 29: DO use curly braces for all flow control structures.

line 684 col 9: DO use curly braces for all flow control structures.

line 698 col 9: DO use curly braces for all flow control structures.

Fix lib/imp/catapult_signature.dart. (-3.45 points)

Analysis of lib/imp/catapult_signature.dart reported 7 hints, including:

line 69 col 7: DO use curly braces for all flow control structures.

line 80 col 42: DO use curly braces for all flow control structures.

line 93 col 57: DO use curly braces for all flow control structures.

line 95 col 7: DO use curly braces for all flow control structures.

line 117 col 56: DO use curly braces for all flow control structures.

Fix lib/src/key_pair.dart. (-1.99 points)

Analysis of lib/src/key_pair.dart reported 4 hints:

line 25 col 42: DO use curly braces for all flow control structures.

line 38 col 57: DO use curly braces for all flow control structures.

line 40 col 7: DO use curly braces for all flow control structures.

line 63 col 41: DO use curly braces for all flow control structures.

Fix lib/src/nem2_crypto_utils.dart. (-1 points)

Analysis of lib/src/nem2_crypto_utils.dart reported 2 hints:

line 40 col 38: DO use curly braces for all flow control structures.

line 41 col 38: DO use curly braces for all flow control structures.

Fix lib/src/crypto.dart. (-0.50 points)

Analysis of lib/src/crypto.dart reported 1 hint:

line 20 col 5: DO use curly braces for all flow control structures.

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-17 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and nem2_crypto.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
fixnum ^0.10.9 0.10.9
hex ^0.1.2 0.1.2
pointycastle ^1.0.1 1.0.1
Dev dependencies
test ^1.5.3