Skip to content

A Ruby tool for encrypting, decrypting, and cracking using a variable shift cipher algorithm.

Notifications You must be signed in to change notification settings

alex-latham/enigma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enigma

This tool has three command line interfaces (CLIs). An explanation for each is below:

  • encrypt.rb: takes two arguments--the location of an existing message file and an output location for encrypted text. Information about the encryption is returned in the CLI.

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

  • decrypt.rb: takes four arguments--the location of an encrypted file, an output location for decrypted text, a five-digit encryption key, and a six-digit date in DDMMYY format. Information about the decryption is returned in the CLI.

ruby runners/decrypt.rb encrypted.txt decrypted.txt <key> <date>

  • crack.rb: takes three arguments--the location of an encrypted file, an output location for cracked text, and a six-digit encryption date in DDMMYY format. Information about the crack is returned in the CLI.

ruby runners/crack.rb encrypted.txt cracked.txt <date>

About

A Ruby tool for encrypting, decrypting, and cracking using a variable shift cipher algorithm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages