Skip to content

Latest commit

 

History

History
36 lines (36 loc) · 636 Bytes

README.md

File metadata and controls

36 lines (36 loc) · 636 Bytes

Toy Tetragraph Hash Tool

Installation

git clone https://github.com/theoricien/tthtool/
cd tthtool
pip3 install -r requirements.txt

Usage

python3 tthtool.py

Example

------- MENU -------
[0] Encrypt
[1] Decrypt by BruteForce Chosen-Ciphertext Attack
[2] Set debug mode to True
[3] Set pause mode to True
[4] Quit
> 0
Message> HASH THIS PLS
IV[0]> 0
IV[1]> 0
IV[2]> 0
IV[3]> 0
[*] Plaintext: ['HASHTHISPLSAAAAA']
[*] IV: [0, 0, 0, 0]
[*] Encrypted: XRDF
------- MENU -------
[0] Encrypt
[1] Decrypt by BruteForce Chosen-Ciphertext Attack
[2] Set debug mode to True
[3] Set pause mode to True
[4] Quit
>