Crypto Testing
    Preparing search index...

    Interface MinimalKeyPair

    Minimal key-pair shape accepted by expectKeyPair.

    import type { MinimalKeyPair } from "@sebastienrousseau/crypto-testing";

    const kp: MinimalKeyPair = { publicKey: "aa".repeat(32), privateKey: "bb".repeat(32) };
    interface MinimalKeyPair {
        publicKey: string;
        privateKey: string;
        algorithm?: string;
    }
    Index
    publicKey: string

    Hex-encoded public key.

    privateKey: string

    Hex-encoded private key.

    algorithm?: string

    Algorithm identifier (e.g. "ed25519").