1 stable release

Uses old Rust 2015

1.0.0 Mar 6, 2016

#4 in #ciphertext

Download history 30182/week @ 2024-03-14 33462/week @ 2024-03-21 33398/week @ 2024-03-28 39734/week @ 2024-04-04 35777/week @ 2024-04-11 36377/week @ 2024-04-18 31356/week @ 2024-04-25 30624/week @ 2024-05-02 30709/week @ 2024-05-09 29950/week @ 2024-05-16 41427/week @ 2024-05-23 30697/week @ 2024-05-30 22485/week @ 2024-06-06 30747/week @ 2024-06-13 27441/week @ 2024-06-20 19905/week @ 2024-06-27

105,445 downloads per month
Used in 100 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