@btc-vision/ecpair - v4.0.2
    Preparing search index...

    Interface RandomSignerOptions

    Options for ECPairSigner.makeRandom, extending SignerOptions with an optional custom RNG.

    interface RandomSignerOptions {
        compressed?: boolean;
        rng?: (size: number) => Uint8Array;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    compressed?: boolean

    Whether to use compressed SEC1 encoding for the public key. Defaults to true.

    rng?: (size: number) => Uint8Array

    Custom random-byte generator. Must return exactly size bytes. Falls back to crypto.getRandomValues when omitted.