@lightprotocol/stateless.js - v0.22.1-alpha.1
    Preparing search index...

    Function hashvToBn254FieldSizeBe

    • Hash the provided bytes with Keccak256 and ensure that the result fits in the BN254 prime field by truncating the resulting hash to 31 bytes.

      Parameters

      • bytes: Uint8Array<ArrayBufferLike>[]

        Input bytes

      Returns Uint8Array

      Hash digest