libenigma

Crates.iolibenigma
lib.rslibenigma
version1.0.1
sourcesrc
created_at2022-10-14 22:07:15.049504
updated_at2022-10-30 06:01:14.047547
descriptionA library for simulating an Enigma Machine
homepage
repositoryhttps://github.com/ThatNerdUKnow/enigma
max_upload_size
id688577
size75,184
Brandon PiƱa (ThatNerdUKnow)

documentation

README

enigma

An implementation of the Enigma Machine written in rust

The Enigma machine is a cipher device developed and used in the early- to mid-20th century to protect commercial, diplomatic, and military communication. It was employed extensively by Nazi Germany during World War II, in all branches of the German military. The Enigma machine was considered so secure that it was used to encipher the most top-secret messages.

Installation

  • Install Rust
  • run cargo install libenigma
  • run libenigma -h for usage instructions

Tests

run cargo test

Benchmarks

run cargo bench

Usage

  • -i Input file: Path to input text file
  • -c Config file: Path to config file. If a config file does not exist at this path, a config file will be generated a written to this path
  • -o Output file: Path to output ciphertext
  • -h Help: Help information- Output information on usage of CLI
  • -v Version: Output version information
Commit count: 89

cargo fmt