Small cryptographic operations and other fun stuff
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Pankratz 299c4ccc96 ROT working completely 5 years ago
README.md typo 7 years ago
crypttool.py ROT working completely 5 years ago
crypttool.pyc Single byte XOR brute force for multiple lines in a file 7 years ago

README.md

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 crypttool
  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!