@dfinity/vetkeys - v0.2.0
    Preparing search index...

    Function hashToScalar

    • Hash an input to a scalar in the BLS12-381 group

      This is useful if you want to derive a BLS12-381 secret key from some other input data, but this is not a common operation.

      Parameters

      • input: Uint8Array
      • domainSep: string

      Returns bigint