search

goog.crypt.Ctr

Provided By

Implementation of Ctr mode for block ciphers. See http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation #Cipher-block_chaining_.28Ctr.29. for an overview, and http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf for the spec.

new Ctr( cipher )

Parameters
ciphergoog.crypt.BlockCipher

The block cipher to use.

Instance Methods