A Curve25519 public key.

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

  • Returns void

  • Serialize an Curve25519 public key to an unpadded base64 representation.

    Returns string