Skip to main content

Function: poseidonHash()

function poseidonHash(bytes): any

Creates the Poseidon hash of the given bytes.

Parameters

ParameterType

bytes

Uint8Array

Returns

any

The Poseidon hash.

Defined

@nilfoundation/niljs/src/encoding/poseidon.ts:20