Skip to content
This repository was archived by the owner on May 4, 2026. It is now read-only.

Latest commit

 

History

History
37 lines (29 loc) · 975 Bytes

File metadata and controls

37 lines (29 loc) · 975 Bytes

License License

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