[−][src]Crate nettle
Rust bindings for the Nettle cryptographic library.
Modules
aead | Authenticated encryption mode with associated data. |
cipher | Block and stream ciphers. |
curve25519 | Elliptic curve Diffie-Hellman using D.J. Bernstein's Curve25519. |
dsa | The Digital Signature Algorithm (DSA) described in FIPS 186. |
ecc | Types for ECs in Weierstraß form. |
ecdh | Diffie-Helman over ECs in Weierstraß form. |
ecdsa | Elliptic curve variant of the Digital Signature Standard. |
ed25519 | D.J. Bernstein's "Twisted" Edwards curve Ed25519. |
hash | Cryptographic hash functions. |
kdf | Key derivation functions |
mac | Message authentication codes. |
mode | Mode of operation for block ciphers. |
random | Cryptographic random number generators (CRNG). |
rsa | The Rivest, Shamir, Adelman (RSA) cryptosystem. |
Structs
Yarrow | Yarrow is a secure CRNG developed by Kelsey et.al. |
Enums
Error | Nettle error type. |
Traits
Aead | A AEAD mode of operation. |
BlockSizeIs16 | Marker trait for ciphers with 16 byte block size. |
Cipher | Symmetric block or stream cipher. |
Hash | Hash function. |
Mac | A message authentication code. |
Mode | Block cipher mode of operation. |
Random | A cryptographic random number generator. |
Type Definitions
Result | Specialized Result type. |