GitXplorerGitXplorer
h

lorenz-sz

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
6a9a3215aefe186a4183704a1d75d6f6cbb97788

add basic README.md

hhughcoleman committed 7 months ago
Verified
45a0dab7a293b5a5ceded8cd6d38ef53634130c8

implement initial working prototype

hhughcoleman committed 7 months ago
Verified
ace60a62b6774a58943a164c190f364ec2f674cf

create library `lorenz-sz` package

hhughcoleman committed 7 months ago
Verified
85fe0a654bcdd129c9fe27ae8982abc2914beac2

initialize empty Git repository

hhughcoleman committed 7 months ago

README

The README file for this repository.

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