Data Encryption Testing
✓ Published0🌍 Public
This example demonstrates how AES encryption transforms a short plain-text message into a much longer ciphertext, highlighting the approximately 4× size increase. The page renders both the unencrypted string and its encrypted form in green terminal-style text on a black background. It uses the CryptoJS library’s `AES.encrypt` and `AES.decrypt` methods with a fixed secret key, then displays the results via `document.getElementById().textContent`. The visualization is purely textual, with no charts or data beyond the two message strings.
AI-generated descriptionTrying out CryptoJS for password protecting plain text using Advanced Encryption Standard (AES).
One insight from here is that when you encrypt a string in this way, it looks like it grows in size by about 4X.
MIT Licensed