Skip to content

StephenOcka/TextEncryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TEXT ENCRYPTOR

Welcome to the basic text encryption and decryption project!

preview

Project

badge-status

badge-GitHub-stars

badge-GitHub-forks

badge-GitHub-license

badge-GitHub-issues

Mode of operation

Encrypt

  1. Enter the text you want to encrypt. onEncrypt-1

  2. Enter a password to encrypt the text. (It is important that you save the password, as without the password, the text cannot be decrypted) onEncrypt-2

  3. Once the text and password have been entered, a message should appear confirming that the text is encrypted. onEncrypt-3

Decrypt

  1. Enter the text you want to decrypt. (It is important thath it is an encrypted text for this page) onDecrypt-1

  2. Enter the password with which the text was encrypted. (If it is another password, it will give an error message) onDecrypt-2

  3. Once the encrypted text and the password are entered, a message will be displayed confirming the decryption. onDecrypt-3

Error

  • Message displayed when an incorrect password or unfit text is entered (either the text is not encrypted or it is encrypted by a method other than the encryption method on this page) onError

Warning

  • Message displayed when there is no text to encrypt or decrypt. onWarning-1

  • Message displayed when the password is not entered at the time of encrypting or decrypting. onWarning-2

Libraries

  • The crypto-js library is used to encode and decrypt the message.
  • The SweetAlert2 library is used to display alert messages.
  • The development dependency esbuild is used to package the project and build the static files for production.
  • The development dependency @chialab/esbuild-plugin-html used as plugin to esbuild.
  • Then development dependency html-minifier is used to minify HTML for production.
  • The jsdom development dependency is used to manipulate the DOM of the HTML using node before minifying it.
  • The cpx2 development dependency is used to clone SEO files.

Developer

StephenOcka

[email protected]

LinkedIn