6 releases
0.2.2 | Mar 17, 2019 |
---|---|
0.2.1 | Mar 17, 2019 |
0.1.14 | Mar 12, 2019 |
#2388 in Cryptography
5,323 downloads per month
Used in 9 crates
(4 directly)
15KB
171 lines
Crypto API
This crate defines a general purpose API for various cryptographic primitives. It's goal is to provide an abstraction layer that allows you to switch your cryptographic backend easily.
Primitives covered
The following primitives are covered:
-
Ciphers
- Normal cipher
- AEAD cipher
- Streaming API
-
Hash
- Normal hash
- Variable-length hash
- Streaming API
-
KDF
- Normal parametrized KDF (tweaked with salt/info)
-
MAC
- Normal MAC
- Streaming API
-
PBKDF
- Normal (CPU-hard) PBKDF
- Memory-hard PBKDF
-
RNG
- Cryptographically secure RNG
- Cryptographically secure, seedable RNG
- Cryptographically secure, deterministic RNG
-
Asymmetric Signer
- Normal signer
lib.rs
:
This crate defines a general purpose API for various cryptographic primitives. It's goal is to provide an abstraction layer that allows you to switch your cryptographic backend easily.