My solutions to the assignments for my Information Security Basics course.
Public-Key Cryptography:
- OAEP Encryption and Decryption;
- PSS Signature and Verification;
- Is RSA Encryption Anonymous?
Lattice-Based Encryption:
- LWE Encryption and Decryption;
- RLWE Encryption and Decryption.
Symmetric Cryptography:
- Block and Stream Ciphers;
- Hash Functions;
- Assessing the Security of a Cipher;
- AES Round Trnasformations.
RSA:
- Key Generation;
- Encryption and Decryption;
- RSA Signature Scheme.
Advanced Protocols:
- El Gamal: Ciphertext, Encryption Algorithm, Multiplicative Homomorphic Property;
- Re-randomisation and shuffling of ciphertexts;
- Needham-Schroeder’s shared key protocol.