Codes written for my cryptology course at uni