Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HashedElGamalCiphertext

The ciphertext representation of an arbitrary byte-array, encrypted with an ElGamal public key.

Hierarchy

  • HashedElGamalCiphertext

Index

Constructors

Properties

c1: Uint8Array
numBytes: number

Methods

  • Attempts to decrypt the ciphertext using the given secret key. Returns undefined if the decryption fails, likely from an HMAC verification failure.

    Parameters

    Returns undefined | Uint8Array

Generated using TypeDoc