Skip to content

hugoabonizio/caesar_cipher_breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caesar Cipher Breaker Build Status

Caesar cipher automatic breaker (brute force)

Installation

git clone --depth 1 https://github.com/hugoabonizio/caesar_cipher_breaker.git
cd caesar_cipher_breaker
make build
sudo make install

Usage

Finding cipher's key by brute force

$ caesar-breaker pmttw
Key: 8
Decoded: hello
Entropy: 4.003738725866233

$ caesar-breaker "wx, bn cpbt xh Wjvd"
Key: 15
Decoded: hi, my name is Hugo
Entropy: 4.370609093583495

Encoding a string

$ bin/caesar-breaker --encode 15 "hi, my name is Hugo"
wx, bn cpbt xh Wjvd

Decoding a string

$ bin/caesar-breaker --decode 8 pmttw
hello

Contributing

  1. Fork it ( https://github.com/hugoabonizio/caesar_cipher_breaker/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

Automatic Caesar's cipher breaker written in Crystal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published