KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
poseidon-bn254
★ 13
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
JSON_Encoder
:
A library specifically made for arduino devices to encode JSON strings to URL strings and vice versa.
ansible-collection-homelab
:
A collection of Ansible automation roles for my homelab.
Slip39
:
Shamir's Secret-Sharing for Mnemonic Codes in C#
sf2-rmidi-specification
:
SF2 RMIDI Format Specification
vlm-toolbox
:
Vision-Language Models Toolbox: Your all-in-one solution for multimodal research and experimentation
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
poseidon-bn254
?
Download (.md)
# poseidon-bn254 a computational only implementation of the Poseidon hash using in [poseidon-circuit](https://github.com/scroll-tech/poseidon-circuit). ## Comparison with poseidon-circuit | task | poseidon-bn254 cycles | poseidon-circuit cycles | difference | |:------------------------------|----------------------:|------------------------:|----------------:| | hash_with_domain([0, 0], 0) * | 732 | 8,199 | 7,467 (-91%) | | hash_with_domain([1, 2], 3) | 6,616 | 8,199 | 1,583 (-19.3%) | | hash_msg(1, None) | 6,580 | 8,192 | 1,612 (-19.7%) | | hash_msg(1, Some(1)) | 6,563 | 8,192 | 1,629 (-19.9%) | | hash_msg(10, None) | 29,605 | 34,340 | 4,735 (-13.8%) | | hash_msg(10, Some(10)) | 29,662 | 34,341 | 4,679 (-13.6%) | | hash_code("") | 475 | 8,719 | 8,244 (-94.6%) | | hash_code(128) | 20,564 | 24,329 | 3,765 (-15.5%) | | hash_code(256) | 34,393 | 39,364 | 4,971 (-12.6%) | | hash_code(1024) | 117,892 | 130,052 | 12,160 (-9.4%) | | hash_code(4096) | 462,836 | 505,385 | 42,549 (-8.4%) | | hash_code(16384) | 1,831,155 | 1,993,659 | 162,504 (-8.2%) | | hash_code(24576) ** | 2,743,359 | 2,985,843 | 242,484 (-8.1%) | *`hash_with_domain([0, 0], 0)` is the hash of the empty message. ** 24576 is the maximum bytecode size limit on ethereum mainnet.