@anzaui/engine - v0.6.0
    Preparing search index...

    Function publicKey

    • Parse an Ed25519 public key (a private key yields its public key).

      Parameters

      • input: Ed25519Key

        32 raw bytes, 64-char lowercase hex, SPKI PEM or a KeyObject.

      Returns KeyObject

      The public KeyObject.

      AnzaError CRYPTO for anything else.