Module: crypto/aes_kw

Implementation of RFC 3394 AES Key Wrap & Key Unwrap funcions

Source:
See:

Methods

(static) unwrap(key, data) → {Uint8Array}

AES key unwrap

Parameters:
Name Type Description
key String
data String
Source:
Throws:
Error
Returns:
Type
Uint8Array

(static) wrap(key, data) → {Uint8Array}

AES key wrap

Parameters:
Name Type Description
key Uint8Array
data Uint8Array
Source:
Returns:
Type
Uint8Array