Skip to content

ZNClub-PA-ML-AI/Cryptography-Software-Security-Project

Repository files navigation

Cryptography & Software Security Project

  1. Encryption Algorithm Implementation
  2. Research paper presentation

Research Paper

Proposed algorithm

  1. Assignment of values:
  2. Letters A,B,..,Z as 1,2,..,26.
  3. Digits 1,2,..,9 as 27,28,..,35.
  4. Digit 0 as 0 only.
  5. PT is divided into blocks of 16 bytes represented by Matrix Mp.
  6. Key is array K of size 16 which has values generated from random(1,26) with repetition.
  7. Perform transpose of Mp as Mp^T
  8. Formulate Encrypted Key matrix Ke using for i in Ke: i=i%2
  9. Resultant Matrix Cpk = Mp^T + Ke
  10. Since Cpk is a 4x4 matrix,
  11. Rotate 1st row by 1 element, 2nd row by 2 elements, 3rd row by 3 elements, 4th row by 0 elements. This gives matrix Chr.
  12. Rotate 1st column by 1 element, 2nd column by 2 elements, 3rd column by 3 elements, 4th column by 0 elements. This gives matrix Cvr.
  13. Matrix Cvr is the final encrypted block

About

Research paper, Encryption Algorithms and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages