Skip to content

hughcoleman/lorenz-sz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
}

About

Simulator of the Lorenz SZ40 cipher machine

Topics

Resources

Stars

Watchers

Forks

Languages