package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jan 11, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Hash2FieldXMD(h hash.Hashing, in, dst []byte, count, ext, securityLength int, ...) ([]*big.Int, error)
-
func Hash2FieldXOF(h xof.Extendable, in, dst []byte, count, ext, securityLength int, ...) ([]*big.Int, error)
Hash2FieldXMD hashes the input with the domain separation tag (dst) to an integer under modulo, using an
merkle-damgard based expander (e.g. SHA256).
Hash2FieldXOF hashes the input with the domain separation tag (dst) to an integer under modulo, using an
extensible output function (e.g. SHAKE).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.