12 releases (7 stable)

Uses new Rust 2024

3.0.1 Mar 7, 2026
3.0.0 Feb 19, 2025
2.0.2 Jul 8, 2024
1.0.1 Feb 2, 2024
0.1.0 Nov 21, 2021

#2505 in Cryptography


Used in 2 crates

BSD-3-Clause

79KB
2K SLoC

The Kestrel cryptography library. This library provides implementations of ChaCha20-Poly1305, X25519, SHA-256, HMAC-SHA-256 and the Noise X protocol.

The goal of this library is not to serve as a general purpose cryptographic library, but the functions provided here could certainly be used as such.


Kestrel Cryptogrphy Library

Provides the cryptography backend for Kestrel. This is not meant to be a general purpose cryptography library, but does include access to a number of primitives.

API Includes

  • X25519
  • ChaCha20Poly1305
  • Noise X protocol
  • SHA256
  • Scrypt
  • HKDF-SHA256
  • Random key generation
  • Public Key authenticated encryption of data
  • Password bassed authenticated encryption

Dependencies

~7.5MB
~140K SLoC