Hierarchy (view full)

Constructors

Methods

  • Parameters

    • curve: "ed25519" | "secp256k1"

      Name of elliptical curve, case-insensitive

    Returns KeyPair

    Random KeyPair based on the curve

  • Creates a key pair from an encoded key string.

    Parameters

    Returns KeyPair

    The key pair created from the encoded key string.