/Crypto.bash

Crypto in bash (keygen, encrypt, decrypt)

Primary LanguageShellCreative Commons Zero v1.0 UniversalCC0-1.0

Bash based RSA crypto

Dont use this ever

This was made as a piece of coursework to both learn more bash and to show understanding of various aspects of the RSA cryptosystem

Currently finished:

  • Probable Prime generation
  • Public key
  • Private key
  • Encryption
  • Decryption
  • Full TUI for part 1

Todo:

  • Fix weird bug where bobs last message doesnt encrypt correctly, something to do with nonce storage i think

CC-0