Options
All
  • Public
  • Public/Protected
  • All
Menu

An implementation of the Advance Encryption Standard Key Wrapping Algorithm (AES-KW) originally designed by NIST and formalized in RFC 3394

see

https://tools.ietf.org/html/rfc3394

see

http://csrc.nist.gov/encryption/kms/key-wrap.pdf

Hierarchy

  • AESKW

Index

Constructors

  • new AESKW(key: Uint8Array): AESKW

Methods

  • unwrapKey(wrappedKey: Uint8Array): Uint8Array
  • Un-wraps a wrapped key using the key encryption key supplied in the constructor

    Parameters

    • wrappedKey: Uint8Array

    Returns Uint8Array

  • wrapKey(keyData: Uint8Array): Uint8Array
  • Wraps supplied key data with the key encryption key supplied in the constructor.

    Parameters

    • keyData: Uint8Array

    Returns Uint8Array

Generated using TypeDoc