Class: TinyAesTransformer

TinyAesTransformer()

Salmon AES transformer implemented with TinyAES backend.

Constructor

new TinyAesTransformer()

Source:

Members

(static) AES_IMPL_TINY_AES

The constant to pass to the native code while initializing.
Source:

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.
Source:
Throws:
SalmonSecurityException Thrown when error with security