Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Data Encryption Testing

Public visualization

Viewing a saved revision (read-only)

5543d9f1714f4963966ad31d63453b94

Data Encryption Testing

0 stars0🌍 Public
CCurran Kelleher
Last edited Jul 7, 2022
Created on Jul 6, 2022
Forked from HTML Starter

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 description

Trying 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.