INNER CODE UNIT · JavaScript
encryptedBytes
r1cksec/cheatsheets · snippet/js/aesDecrypt.js:45
const encryptedBytes = Uint8Array.from(atob(encryptedBase64), c => c.charCodeAt(0));
aesDecrypt(encryptedBytes).then((decryptedText) => {
console.log(decryptedText);
});