Documentation
    Preparing search index...

    Interface XofConstructor

    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[]>;
    }
    Index
    • Parameters

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

      Returns Xof

    seedSize: number
    • Parameters

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

      Returns Promise<Uint8Array>

    • Parameters

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

      Returns Promise<bigint[]>