pointycastle 0.10.0+4

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • --

Pointy Castle #

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 Pointy Castle.

As of the last release, the following algorithms are implemented:

Block ciphers:

  • AES

Asymmetric block ciphers:

  • RSA

Stream ciphers:

  • Salsa20

Block cipher modes of operation:

  • CBC (Cipher Block Chaining mode)
  • CFB (Cipher Feedback mode)
  • ECB (Electronic Code Book mode)
  • GCTR (GOST 28147 OFB counter mode)
  • OFB (Output FeedBack mode)
  • CTR (Counter mode)
  • SIC

Paddings:

  • PKCS7

Digests:

  • MD2
  • MD4
  • MD5
  • RIPEMD-128
  • RIPEMD-160
  • RIPEMD-256
  • RIPEMD-320
  • SHA-1
  • SHA-224
  • SHA-256
  • SHA-3
  • SHA-384
  • SHA-512
  • SHA-512/t
  • Tiger
  • Whirlpool

MACs:

  • HMAC

Signatures:

  • (DET-)ECDSA
  • RSA

Password based key derivators:

  • PBKDF2
  • scrypt

Asymmetric key generators:

  • ECDSA
  • RSA

Secure PRNGs:

  • Based on block cipher in CTR mode
  • Based on block cipher in CTR mode with auto reseed (for forward security)
  • Based on Fortuna algorithm

Changelog #

Version 0.10.0 (2016-02-04) (Dart SDK version 0.14.0) #

  • First Pointy Castle release.

  • Reorganised file structure.

  • Completely new Registry implementation that dynamically loads imported implementations using reflection. It is explained in this commit.

  • Migrated from unittest to test package.

cipher releases #

Version 0.8.0 (2014-??-??) (Dart SDK version ???) #

  • [bug 80] PaddedBlockCipher doesn't add padding when data length is a multiple of the block size. This fix introduces a BREAKING CHANGE in PaddedBlockCipher specification. Read its API documentation to know about the changes.

Version 0.7.0 (2014-03-22) (Dart SDK version 1.3.0-dev.5.2) #

  • [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.

Use this package as a library

1. Depend on it

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


dependencies:
  pointycastle: ^0.10.0+4

2. Install it

You can install packages from the command line:

with pub:


$ pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:pointycastle/pointycastle.dart';
  
Version Uploaded Documentation Archive
1.0.1 Feb 20, 2019 Go to the documentation of pointycastle 1.0.1 Download pointycastle 1.0.1 archive
1.0.0 Dec 17, 2018 Go to the documentation of pointycastle 1.0.0 Download pointycastle 1.0.0 archive
0.11.1 Jan 28, 2018 Go to the documentation of pointycastle 0.11.1 Download pointycastle 0.11.1 archive
0.11.0 Jan 28, 2018 Go to the documentation of pointycastle 0.11.0 Download pointycastle 0.11.0 archive
0.10.0+5 Dec 8, 2016 Go to the documentation of pointycastle 0.10.0+5 Download pointycastle 0.10.0+5 archive
0.10.0+4 Dec 8, 2016 Go to the documentation of pointycastle 0.10.0+4 Download pointycastle 0.10.0+4 archive
0.10.0+3 Dec 8, 2016 Go to the documentation of pointycastle 0.10.0+3 Download pointycastle 0.10.0+3 archive
0.10.0+2 Dec 7, 2016 Go to the documentation of pointycastle 0.10.0+2 Download pointycastle 0.10.0+2 archive
0.10.0+1 Feb 12, 2016 Go to the documentation of pointycastle 0.10.0+1 Download pointycastle 0.10.0+1 archive
0.10.0 Feb 3, 2016 Go to the documentation of pointycastle 0.10.0 Download pointycastle 0.10.0 archive

All 15 versions...

Awaiting analysis to complete.