/JabberWocky

A Python utility for the encryption / decryption of text files via Vigenere Cipher

Primary LanguagePythonThe UnlicenseUnlicense

Python; CyberSecurity; Secure storage; Vigenere Cipher

Encrypt / decrypt files using an extension of Caesar's Cipher called Vigenere Cipher; Generate random, create custom, or import keys for encryption / decryption

Required modules / libraries:

Random Time

Algorithm(s):

Vigenere Cipher

  1. A key is imported Key's are composed of two parts
  2. External key ( a text file containing a randomly generated or custom created key )
  3. Internal / built-in master key ( a variable within the program )
  4. The final character in each key is a magic number between 0 and 9

Keys are stored securely using a magic number (2) to adjust / increase ASCII values of each character in the key before storage

  1. Data to encrypt / decrypt is imported
  2. Each character of the imported data, imported key, and master key are converted into their corresponding ASCII chart values
  3. During encryption, values are added together and converted back into their characterized form to create the encrypted version of the data
  4. Elsewise for decryption, both key values are substracted from the encrypted data values to revert them back to their decrypted version(s)

Footnote: this program can be further improved in security by adjusting / changing the key length, master key, magic number size, and number of times to be encrypted.