Text and byte conversion
AES works on bytes, not characters. The playground converts the entered text and cryptographic parameters into byte sequences, invokes the selected Web Crypto AES operation, then presents the resulting bytes in its output representation. Decryption reverses that process only when the key, mode, IV, ciphertext, and any authenticated inputs match.