interface XofConstructor {
    new XofConstructor(
        seed: Uint8Array,
        dst: Uint8Array,
        binder: Uint8Array,
    ): Xof;
    seedSize: number;
    deriveSeed(
        seed: Uint8Array,
        dst: Uint8Array,
        binder: Uint8Array,
    ): Promise<Uint8Array>;
    expandIntoVec(
        field: Field,
        seed: Uint8Array,
        dst: Uint8Array,
        binder: Uint8Array,
        length: number,
    ): Promise<bigint[]>;
}

Constructors

Properties

Methods

Constructors

  • Parameters

    • seed: Uint8Array
    • dst: Uint8Array
    • binder: Uint8Array

    Returns Xof

Properties

seedSize: number

Methods

  • Parameters

    • seed: Uint8Array
    • dst: Uint8Array
    • binder: Uint8Array

    Returns Promise<Uint8Array>

  • Parameters

    • field: Field
    • seed: Uint8Array
    • dst: Uint8Array
    • binder: Uint8Array
    • length: number

    Returns Promise<bigint[]>