Skip to content

turingschool-examples/enigma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enigma

This is a template repository for the Enigma project at Turing.

Running test

The test suite can be run with Rake:

rake

Interface

Encrypt a message by providing an input file and a filename for output:

ruby ./lib/encrypt.rb message.txt encrypted.txt

Decrypt a message by providing an input file, an output file, a key, and a date:

ruby ./lib/decrypt.rb encrypted.txt decrypted.txt 82648 030415

Crack a message when the key is not known by providing an input file, an output file, and a date:

ruby ./lib/crack.rb encrypted.txt cracked.txt 030415

About

Template for the Enigma project from Turing's first module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages