Skip to content

This is demo of how encryption can be achieved by using the concept of matrix multiplication and inverse of matrix

Notifications You must be signed in to change notification settings

avi465/Encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Encryption

This is demo of how we can acheive encryption using matrix and inverse matrix

Screenshots

Screenshot

Working

Step1: First message is converted into numbers by any algorithm. Let's say according to its ascii value.Example: hello <-> [104 101 108 108 111]

Step2: Then we multiply the matrix(key) with the message and get the cipher text.

Step3: To decrypt we multiply the inverse matrix with the cipher text and get the original message.

Step4: To get the original message we need to convert the numbers back to characters.

Run Locally

Clone the project

  git clone https://github.com/avi465/Encryption.git

Go to the project directory

  cd my-project

Compile c file

  gcc Encryption.c

Run the program

  ./a.out

About

This is demo of how encryption can be achieved by using the concept of matrix multiplication and inverse of matrix

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages