1 stable release

Uses old Rust 2015

1.0.0 Mar 6, 2016

#6 in #ciphertext

Download history 35496/week @ 2024-07-22 30420/week @ 2024-07-29 33877/week @ 2024-08-05 44877/week @ 2024-08-12 30013/week @ 2024-08-19 39728/week @ 2024-08-26 45970/week @ 2024-09-02 38408/week @ 2024-09-09 36419/week @ 2024-09-16 38152/week @ 2024-09-23 39579/week @ 2024-09-30 40659/week @ 2024-10-07 40869/week @ 2024-10-14 46262/week @ 2024-10-21 36029/week @ 2024-10-28 49551/week @ 2024-11-04

174,035 downloads per month
Used in 104 crates (4 directly)

MIT/Apache

6KB

In cryptography, keystreams are sequences of bytes that can be XORed with a plaintext to create a ciphertext or XORed with a ciphertext to recover the plaintext. A good keystream is nearly impossible to distinguish from random stream of bytes, which makes the ciphertext appear similarly random.

This crate contains traits that that encapsulate the behavior of keystreams, which allows cryptographic operations that depend on keystreams be generic over which particular keystream they use.

No runtime deps