Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 703 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 703 Bytes

crypto-tools

Some functions to solve crypto CTF challs

RSA

Broadcast Attack This uses a broadcast attack to retrieve the original plaintext. You should pass an array with the moduli as the first argument, an array with the ciphertexts as the second argument and the value of the public key e as the third argument.
Small e This uses a Small e attack to retrieve the original plaintext. The first argument should be the ciphertext and the second argument should be the value of the public key e.

XOR

  • Simple XOR
  • Tool to bruteforce the key

Frequency analysis

  • Compute occurrence of letters on a string