AES encryption/decryption for Node and the browser