A Dart library for encryption and decryption. As of today, most of the classes are ports of Bouncy Castle from Java to Dart. The porting is almost always direct except for some classes that had been added to ease the use of low level data.
To make sure nothing fails, tests and benchmarks for every algorithm are provided. The expected results are taken from the Bouncy Castle Java version and also from standards, and matched against the results got from cipher.
As of the last release, the following algorithms are implemented:
Asymmetric block ciphers:
Block cipher modes of operation:
Password based key derivators:
Asymmetric key generators:
Entropy sources (true RNGs):
[enh 15] Implement stream cipher benchmarks.
[enh 64] Benchmark and optimize digests.
[enh 74] Make SHA-3 usable in terms of speed.
[bug 67] Removed some unused code.
[bug 68] Fix process() method of PaddedBlockCipher.
[bug 75] Remove a registry dependency in the Scrypt algorithm.
Add this to your package's pubspec.yaml file:
dependencies: cipher: ^0.7.1
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.7.1||May 11, 2014|
|0.7.0||Mar 22, 2014|
|0.6.0||Feb 24, 2014|
|0.5.1||Jan 20, 2014|
|0.5.0||Jan 15, 2014|
|0.4.0||Nov 18, 2013|
|0.3.1||Nov 11, 2013|
|0.3.0||Nov 1, 2013|
|0.2.0||Oct 13, 2013|
|0.1.0||Oct 12, 2013|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
Support Dart 2 in
The SDK constraint in
pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.
|Dart SDK||>=0.8.10+6 <2.0.0|