lorenz-sz

Crates.iolorenz-sz
lib.rslorenz-sz
version0.1.0
sourcesrc
created_at2024-07-04 02:00:02.364516
updated_at2024-07-04 02:00:02.364516
descriptionSimulator of the Lorenz SZ40 cipher machine
homepage
repositoryhttps://github.com/hughcoleman/lorenz-sz
max_upload_size
id1291196
size10,541
Hugh (hughcoleman)

documentation

README

lorenz-sz

Simulator of the Lorenz SZ40 cipher machine.

Example

use lorenz_sz::{Machine, patterns::ZMUG_PATTERN};

let machine = Machine::new(&ZMUG_PATTERN);
for k in machine.keystream().take(50) {
    // You'll need to handle the encryption yourself; this crate only
    // implements the pseudo-random number generator.
    println!("{}", k);
}
Commit count: 4

cargo fmt