Small cryptographic operations and other fun stuff
crypttool.py | ||
crypttool.pyc | ||
README.md | ||
string_operations.py |
crypttool
This is my little commandline tool which I wrote to learn Python. It performs various cryptographic and miscalleneous tasks.
Instructions
- Clone this repository.
cd crypttool
chmod +x crypttool.py
./crypttool.py
Features:
ROT/Ceasar "Encryption"
- Allows rotating strings by a given amount, aswell as 'bruteforcing an encrypted string (when asked, type all)
Hashing
- Can hash files (absolute paths) or strings
- Supports all algorithms from hashlib
Translation
- Translate/convert strings between binary, decimal, octal, hex and ASCII
Base64 Encoder/Decoder
- Guaranteed to work with strings and files (this is not a guarantee)
- Uses a regex to automatically detect b64 strings
- Needs absolute Paths for files
- currently broken (atleast for files)
String Reverser
- .syas ti tahw seod
Fixed XOR
- XORs two hex strings
Single Byte XOR Bruteforce
- Takes a file or a string
- Tries to XOR decrypt with a key between 0 and 255, then returns the best matching results
XOR Repeating Key
- I'm not sure anymore but I think this doesn't work
Zero-Width Strings
- Create binary-encoded zerowidth-strings to hide in your texts
- Or find and decode them!