Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Aes128Gcm

Hierarchy

  • Aes128Gcm

Index

Properties

Static CipherTextOverhead

CipherTextOverhead: number = 16

Static KeySize

KeySize: number = 16

Static NonceSize

NonceSize: number = 12

Static TagSize

TagSize: number = 16

blockJ

blockJ: Buffer

blockS

blockS: Buffer

blockScratch

blockScratch: Buffer

blockV

blockV: Buffer

blockZ

blockZ: Buffer

cipher

cipher: Cipher

hashSubKey

hashSubKey: Buffer

Readonly key

key: Buffer

Methods

Static multiplyGf128Elements

  • multiplyGf128Elements(x: Buffer, y: Buffer, scratchZ: Buffer, scratchV: Buffer): void

gctr

  • gctr(output: Buffer, counterBlock: Buffer, counter: number, data: Buffer): void

generateAuthTag

  • generateAuthTag(output: Buffer, ciphertext: Buffer, associatedData: Buffer): void

ghash

  • ghash(output: Buffer, data: Buffer, numBlocks: number): void

open

  • open(output: Buffer, nonce: Buffer, ciphertext: Buffer, associatedData: Buffer): boolean

seal

  • seal(output: Buffer, nonce: Buffer, plaintext: Buffer, associatedData: Buffer): void

Constructors

constructor

Generated using TypeDoc