Skip to content

nneonneo/sarah2-attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Cryptanalysis of the the Sarah2 pen-and-paper cipher

Please see the writeup for more detail.

This repo contains a reimplementation of the Sarah2 cipher in Python (sarah2.py), and two attacks which fully reveal the key (attack.py). Running attack.py generates a random key, then attempts to recover it using the two methods outlined in the writeup. It takes a few seconds to run and is substantially faster if run with PyPy.

About

Cryptanalysis of the Sarah2 pen-and-paper cipher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages