1 stable release

Uses old Rust 2015

1.0.0 Mar 6, 2016

#4 in #ciphertext

Download history 25666/week @ 2023-12-08 18510/week @ 2023-12-15 9692/week @ 2023-12-22 10742/week @ 2023-12-29 18543/week @ 2024-01-05 21865/week @ 2024-01-12 24323/week @ 2024-01-19 24110/week @ 2024-01-26 24170/week @ 2024-02-02 24333/week @ 2024-02-09 30192/week @ 2024-02-16 29792/week @ 2024-02-23 23965/week @ 2024-03-01 25540/week @ 2024-03-08 31220/week @ 2024-03-15 27900/week @ 2024-03-22

113,849 downloads per month
Used in 95 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