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
constructor
- new XofConstructor(seed: Uint8Array, dst: Uint8Array, binder: Uint8Array): Xof
Parameters
- seed: Uint8Array
- dst: Uint8Array
- binder: Uint8Array
Returns Xof
Properties
seedSize
seedSize: number
Methods
deriveSeed
- deriveSeed(
seed: Uint8Array,
dst: Uint8Array,
binder: Uint8Array,
): Promise<Uint8Array> Parameters
- seed: Uint8Array
- dst: Uint8Array
- binder: Uint8Array
Returns Promise<Uint8Array>
expandIntoVec
- expandIntoVec(
field: Field,
seed: Uint8Array,
dst: Uint8Array,
binder: Uint8Array,
length: number,
): Promise<bigint[]> Parameters
- field: Field
- seed: Uint8Array
- dst: Uint8Array
- binder: Uint8Array
- length: number
Returns Promise<bigint[]>