pub fn compute_secret_hash(secret: &Fr) -> Fr
Hash a secret for use in L1-L2 message flow and TransparentNote.
secret_hash = poseidon2([secret], SECRET_HASH)
Mirrors TS computeSecretHash(secret).
computeSecretHash(secret)