Welcome to the basic text encryption and decryption project!
-
Enter a password to encrypt the text. (It is important that you save the password, as without the password, the text cannot be decrypted)
-
Once the text and password have been entered, a message should appear confirming that the text is encrypted.
-
Enter the text you want to decrypt. (It is important thath it is an encrypted text for this page)
-
Enter the password with which the text was encrypted. (If it is another password, it will give an error message)
-
Once the encrypted text and the password are entered, a message will be displayed confirming the decryption.
- 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)
-
Message displayed when there is no text to encrypt or decrypt.
-
Message displayed when the password is not entered at the time of encrypting or decrypting.
- 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.