2014-11-03 10:49:17 -05:00
..
2014-11-03 10:49:17 -05:00
2014-11-03 10:49:17 -05:00
2014-11-03 10:49:17 -05:00
2014-11-03 10:49:17 -05:00
2014-10-27 20:10:17 -04:00
2014-11-03 10:49:17 -05:00

Cryptography

MD5

Scripts

  • Hash length extension attack
  • Brute force hex digest chars

SHA

Scripts

  • SHA-256 brute force

Rotation Ciphers

Scripts

  • Caesar
  • Brute force rotation
  • Pygenere
  • Frequency analysis

Online tools:

In the command line

$ VAR=$(cat data.txt)
$ echo "$VAR"
$ alias rot13="tr A-Za-z N-ZA-Mn-za-m"
$ echo "$VAR" | rot13

In Python

In Python we can use decoding:

"YRIRY GJB CNFFJBEQ EBGGRA".decode(encoding="ROT13")

Pailier Cryptosystem

Scripts

  • POC
  • Primes

Tools

Scripts:

  • Finding GDC
  • Finding if prime
  • Generate prime
  • Quick Select
  • XORtool

Online