Crypto Lib
    Preparing search index...

    Interface SplitResult

    Result of splitting a secret into shares via Shamir's scheme.

    interface SplitResult {
        shares: Share[];
        threshold: number;
        algorithm: "shamir-ed25519";
    }
    Index
    shares: Share[]

    Array of n shares; any threshold of them can reconstruct the secret.

    threshold: number

    Threshold (minimum shares needed).

    algorithm: "shamir-ed25519"

    Algorithm identifier.