This repository has codes for my Computer Systems Security study. The list is as follows:
- Implementation of Affine Cipher
- Implementation of Playfiar Cipher
- Multiplication of 2 polynomials using a given irreducible polynomial (GF(2^8))
- To find primitive roots of a group <Zp*,x>
- Implementation of RSA algorithm to provide (a) Confidentiality (b) Authenticity
- To implement Diffie-Hellman Key Exchange algorithm
#Procedure to run Run the file "main.java" and type in the appropriate practical number.
#Output For compilation and execution, I used the IDE: "IntelliJ: IDEA". Any IDE with Java 8 should work fine.
#Most of the values are not hardcoded, but for those that are, I have provided detailed documentation that can help understand limitations of each algorithm against certain test cases.