WebCrypto encrypt/decrypt test

Encrypt a 15, 16, and 17 byte array using 128-bit AES-CBC encryption.

See how padding causes the encrypted output to be 16, 32, and 32 bytes respectively.

See the original data restored by decrypting.


Right-click, inspect, and see console log.