10 releases (5 stable)

2.0.2 Jul 8, 2024
1.0.1 Feb 2, 2024
1.0.0 Dec 29, 2023
0.11.0 Sep 25, 2023
0.1.0 Nov 21, 2021

#1813 in Cryptography

Download history 34/week @ 2024-07-01 192/week @ 2024-07-08 2/week @ 2024-08-05 16/week @ 2024-08-26 14/week @ 2024-09-09 11/week @ 2024-09-16 34/week @ 2024-09-23 46/week @ 2024-09-30 5/week @ 2024-10-14

85 downloads per month
Used in 2 crates

BSD-3-Clause

78KB
2K 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
  • HKDF-SHA256
  • Random key generation
  • Public Key authenticated encryption of data
  • Password bassed authenticated encryption

lib.rs:

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.

Dependencies

~2.7–4MB
~78K SLoC