mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-06 06:42:33 +00:00
7 lines
135 B
Python
7 lines
135 B
Python
from typing import *
|
|
|
|
|
|
# rust/src/zcash_primitives/poseidon/mod.rs
|
|
def poseidon(x: Fp, y: Fp) -> Fp:
|
|
"""Poseidon hash function."""
|