Minimal Anti Collusion Infrastructure (MACI) v2.5.0 / sha256Hash
Function: sha256Hash()
sha256Hash(
input
):bigint
Hash an array of uint256 values the same way that the EVM does.
Parameters
• input: bigint
[]
the array of values to hash
Returns
bigint
a EVM compatible sha256 hash
Defined in
packages/crypto/ts/hashing.ts:15