3 releases (breaking)

Uses new Rust 2021

0.10.0 Aug 9, 2022
0.9.0 Jan 9, 2022
0.1.0 Nov 21, 2021

#341 in Cryptography

29 downloads per month
Used in kestrel-cli


1.5K SLoC

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
  • Random key generation
  • Public Key authenticated encryption of data
  • Password bassed authenticated encryption


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 provide a general cryptographic library, but the functions provided here could certainly be used as such.


~65K SLoC