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) }; Copy
import type { MinimalKeyPair } from "@sebastienrousseau/crypto-testing";const kp: MinimalKeyPair = { publicKey: "aa".repeat(32), privateKey: "bb".repeat(32) };
Hex-encoded public key.
Hex-encoded private key.
Optional
Algorithm identifier (e.g. "ed25519").
"ed25519"
Minimal key-pair shape accepted by expectKeyPair.
Example