matter-labs-archive / sapling-crypto

Zcash "Sapling" cryptography gadgets along with additions. Uses our Ethereum compatible bellman under the hood
Other
15 stars 9 forks source link

Round numbers for Poseidon on BN254 #10

Open khovratovich opened 5 years ago

khovratovich commented 5 years ago

https://github.com/matter-labs/sapling-crypto/blob/4d21c67c10591ca4923f93c00451f9408543be0c/src/poseidon/bn256.rs#L33

width | tree arity | RF | RP 3 | 2:1 | 8 | 56 5 | 4:1 | 8 | 57 9 | 8:1 | 8 | 59