Skip to content

RoryPoulter/Web-Encryption-Program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-Encryption-Program

JavaScript program for encrypting and decrypting text.
Has 4 main functions:

  • Encrypting text
  • Decrypting text
  • Validating keys
  • Generating keys

Usage

Open the file index.html in your browser or visit here.

Encrypting Text

  • Enter the key
  • Enter the plain text
  • Press 'Encrypt'

The encrypted text will be displayed.

Decrypting Text

  • Enter the key
  • Enter the cipher text
  • Press 'Decrypt'

The decrypted text will be displayed.

Validating keys

  • Enter the key
  • Press 'Check'

The letter mapping produced by the key will be displayed.

Generating Random Keys

  • Press 'Generate'

A random key will be displayed.

Generating Keys From Known Mapping

  • Enter the mapping in the following format:
    • D,E,V,L,J,B,Z,S,X,C,Q,M,G,N,I,F,R,W,T,A,U,P,H,O,Y,K
    • where A maps to D, B maps to E, etc.
  • Press 'Generate'

The key produced by the letter mapping will be displayed.

Development

Languages / Frameworks Used:

HTML5 CSS3 Bootstrap JavaScript