Crypto Testing
    Preparing search index...

    Interface TestSignedMessage

    A pre-built signed message for testing verification flows.

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

    const msg: TestSignedMessage = createTestSignedMessage();
    console.log(msg.signature, msg.algorithm);
    interface TestSignedMessage {
        algorithm: string;
        publicKey: string;
        privateKey: string;
        message: string;
        signature: string;
    }
    Index
    algorithm: string

    Algorithm used.

    publicKey: string

    Hex-encoded public key.

    privateKey: string

    Hex-encoded private key.

    message: string

    The message that was signed.

    signature: string

    Hex-encoded mock signature.