Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.88 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.88 KB

Encrypt_Decrypt

GUI for python encryption and decryption algorithms

Caesar cipher

also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet.

Vigenere Cipher

is a method of encrypting alphabetic text by using a series of interwoven Caesar ciphers based on the letters of a keyword. It is a form of polyalphabetic substitution

Transpositions Cipher

is a method of encryption by which the positions held by units of plaintext (which are commonly characters or groups of characters) are shifted according to a regular system, so that the ciphertext constitutes a permutation of the plaintext. That is, the order of the units is changed (the plaintext is reordered). Mathematically a bijective function is used on the characters' positions to encrypt and an inverse function to decrypt.

Diffie Hellman

is a method of securely exchanging cryptographic keys over a public channel and was one of the first public-key protocols as originally conceptualized by Ralph Merkle and named after Whitfield Diffie and Martin Hellman. DH is one of the earliest practical examples of public key exchange implemented within the field of cryptography

Scripts used in the Program:

Cesar Algorithm: Cesar_Final_Version.py
Diffie_Hellman: Diffie_Hellman_Final_Version.py
Transposition: Trans_Final_Version.py
Vigenere : Vigenere_Final_Version.py

      >chmod +x *_Final_Verion.py
      >./*_Final_Version.py

To use GUI for these scripts : MainProgram.py

  >chmod +x MainProgram.py
  >./MainProgram.py

and to test The implementation of the encryption and decryption methodes : MainEncDec.py

  >chmod +x MainProgram.py
  >./MainProgram.py