Constructors
constructor
- new SIV(cipher, key): SIV
Returns SIV
Properties
tagLength
tagLength: number
Methods
clean
- clean(): void
Returns void
open
- open(associatedData, sealed, dst?): null | Uint8Array
Parameters
- associatedData: Uint8Array[]
- sealed: Uint8Array
Optional
dst: Uint8Array
Returns null | Uint8Array
seal
- seal(associatedData, plaintext, dst?): Uint8Array
Parameters
- associatedData: Uint8Array[]
- plaintext: Uint8Array
Optional
dst: Uint8Array
Returns Uint8Array