Small cryptographic operations and other fun stuff
Go to file
2018-04-09 12:44:32 +02:00
crypttool.py working zero width text hiding yay 2018-04-09 12:07:04 +02:00
crypttool.pyc Single byte XOR brute force for multiple lines in a file 2017-11-09 11:17:33 +01:00
README.md Created README 2018-04-09 12:44:32 +02:00

crypttool

This is my little commandline tool which I wrote to learn Python. It performs various cryptographic and miscalleneous tasks.

Instructions

  1. Clone this repository.
  2. ´cd cryptool´
  3. ´chmod +x crypttool.py´
  4. ´./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!