This is a solution to the Encrypted Message Challenge. In this challenge, I aim to showcase the skills acquired through the Oracle | ONE program provided by ALURA LATAM.
Part I: HTML and CSS
Part II: Javascript
During the execution of this code, several JavaScript methods were used. Here are some of them to facilitate your search in the study process:
getElementById() |
toLowerCase() |
navigator.clipboard
- Website title
- Text field for encryption/decryption
- Encrypt button
- Decrypt button
- Area to display encrypted/decrypted text
- Copy button
The encryption "keys" that were used are as follows:
The letter "e" is converted to "enter"
The letter "i" is converted to "imes"
The letter "a" is converted to "ai"
The letter "o" is converted to "ober"
The letter "u" is converted to "ufat"
It should only work with lowercase letters. Letters with accents or special characters should not be used. It should be possible to convert a word to its encrypted version and also return an encrypted word to its original version.


