@li0ard/dstu - v0.1.5
    Preparing search index...

    Interface DSTUParameters

    DSTU 4145-2002 curve parameters

    interface DSTUParameters {
        a: 0 | 1;
        b: string;
        Gx: string;
        Gy: string;
        ks: number[];
        m: number;
        onb?: { matrix: string; root1: string; root2: string };
        order: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    a: 0 | 1

    Param a

    b: string

    Param b

    Gx: string

    Base point X coordinate

    Gy: string

    Base point Y coordinate

    ks: number[]

    Polynomial coefficients

    m: number

    Field size

    onb?: { matrix: string; root1: string; root2: string }

    Parameters for Optimal normal basis (ONB)

    Type Declaration

    • matrix: string

      Compressed matrix for ONB multiplication

    • root1: string

      Roots in ONB for PB-irreducible

    • root2: string

      Roots in PB for ONB-irreducible

    order: string

    Curve order