Options
All
  • Public
  • Public/Protected
  • All
Menu

A Curve25519 public key.

Hierarchy

  • Curve25519PublicKey

Index

Constructors

Properties

Methods

Constructors

  • Create a new [Curve25519PublicKey] from a base64 encoded string.

    Parameters

    • key: string

    Returns Curve25519PublicKey

Properties

length: number

The number of bytes a Curve25519 public key has.

Methods

  • free(): void
  • Returns void

  • toBase64(): string
  • Serialize an Curve25519 public key to an unpadded base64 representation.

    Returns string

Generated using TypeDoc