const aes = await window['aes-wasm'].aes256(),
key = new Uint8Array([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 49]),
iv = new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]),
results = [];
aes.init(key, iv);
for(var i = 0; i < 5; i++) results.push(aes.encrypt(new Uint8Array([0, 1, 2])));
console.log(results);