@substrate-system/frost
    Preparing search index...

    Interface CipherSuite

    FROST (Flexible Round-Optimized Schnorr Threshold) Signatures

    A TypeScript implementation of the FROST threshold signature scheme as specified in RFC 9591.

    interface CipherSuite {
        baseElement: () => GroupElement;
        bytesToElement: (bytes: Uint8Array) => GroupElement;
        bytesToScalar: (bytes: Uint8Array) => Scalar;
        elementAdd: (a: GroupElement, b: GroupElement) => GroupElement;
        elementMultiplyByCofactor: (element: GroupElement) => GroupElement;
        elementSize: number;
        elementToBytes: (element: GroupElement) => Uint8Array;
        hashToScalar: (data: Uint8Array) => Promise<Scalar>;
        isIdentity: (element: GroupElement) => boolean;
        isInPrimeOrderSubgroup: (element: GroupElement) => boolean;
        name: string;
        randomScalar: () => Scalar;
        scalarAdd: (a: Scalar, b: Scalar) => Scalar;
        scalarInvert: (scalar: Scalar) => Scalar;
        scalarMultiply: (scalar: Scalar, element: GroupElement) => GroupElement;
        scalarMultiplyByCofactor: (scalar: Scalar) => Scalar;
        scalarMultiplyScalar: (a: Scalar, b: Scalar) => Scalar;
        scalarNegate: (scalar: Scalar) => Scalar;
        scalarSize: number;
        scalarToBytes: (scalar: Scalar) => Uint8Array;
    }

    Implemented by

    Index

    Properties

    baseElement: () => GroupElement
    bytesToElement: (bytes: Uint8Array) => GroupElement
    bytesToScalar: (bytes: Uint8Array) => Scalar
    elementAdd: (a: GroupElement, b: GroupElement) => GroupElement
    elementMultiplyByCofactor: (element: GroupElement) => GroupElement
    elementSize: number
    elementToBytes: (element: GroupElement) => Uint8Array
    hashToScalar: (data: Uint8Array) => Promise<Scalar>
    isIdentity: (element: GroupElement) => boolean
    isInPrimeOrderSubgroup: (element: GroupElement) => boolean
    name: string
    randomScalar: () => Scalar
    scalarAdd: (a: Scalar, b: Scalar) => Scalar
    scalarInvert: (scalar: Scalar) => Scalar
    scalarMultiply: (scalar: Scalar, element: GroupElement) => GroupElement
    scalarMultiplyByCofactor: (scalar: Scalar) => Scalar
    scalarMultiplyScalar: (a: Scalar, b: Scalar) => Scalar
    scalarNegate: (scalar: Scalar) => Scalar
    scalarSize: number
    scalarToBytes: (scalar: Scalar) => Uint8Array