Module nettle::cipher[][src]

Expand description

Block and stream ciphers.

Modules

insecure_do_not_use

Insecure ciphers.

Structs

Aes128

128 bit variant of the Advanced Encryption Standard (AES, formerly RIJNDAEL) defined in FIPS 197.

Aes192

192 bit variant of the Advanced Encryption Standard (AES, formerly RIJNDAEL) defined in FIPS 197.

Aes256

256 bit variant of the Advanced Encryption Standard (AES, formerly RIJNDAEL) defined in FIPS 197.

Blowfish

The Blowfish block cipher.

Camellia128

128 bit variant of the Camellia block cipher developed by Mitsubishi & NTT, defined in RFC 3713.

Camellia192

192 bit variant of the Camellia block cipher developed by Mitsubishi & NTT, defined in RFC 3713.

Camellia256

256 bit variant of the Camellia block cipher developed by Mitsubishi & NTT, defined in RFC 3713.

Cast128

The CAST-128 block cipher defined in RFC 2144.

ChaCha

D.J. Bernstein’s ChaCha block cipher.

Des3

Triple DES in EDE configuration defined in RFC 1851.

RawCipherFunctionPointer

Used internally for cipher modes.

Salsa20R12_128

128 bit variant of D.J. Bernstein’s Salsa20/12 block cipher.

Salsa20R12_256

256 bit variant of D.J. Bernstein’s Salsa20/12 block cipher.

Salsa20_128

128 bit variant of D.J. Bernstein’s Salsa20 block cipher.

Salsa20_256

256 bit variant of D.J. Bernstein’s Salsa20 block cipher.

Serpent

The Serpent block cipher.

Twofish

The Twofish block cipher.

Traits

BlockSizeIs16

Marker trait for ciphers with 16 byte block size.

Cipher

Symmetric block or stream cipher.