Constructor
new TinyAesTransformer()
Members
(static) AES_IMPL_TINY_AES
The constant to pass to the native code while initializing.
Methods
(async) init(key, nonce)
Initialiaze the native transformer to use the Tiny AES implementation.
Parameters:
Name | Type | Description |
---|---|---|
key |
Uint8Array | The AES key to use. |
nonce |
Uint8Array | The nonce to use. |
Throws:
SalmonSecurityException Thrown when error with security