{"id":21970053,"url":"https://github.com/scroll-tech/poseidon-bn254","last_synced_at":"2025-10-10T12:31:05.512Z","repository":{"id":254398548,"uuid":"845977779","full_name":"scroll-tech/poseidon-bn254","owner":"scroll-tech","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-20T07:41:46.000Z","size":122,"stargazers_count":12,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-01T20:48:37.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scroll-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-22T09:51:15.000Z","updated_at":"2025-05-25T07:08:08.000Z","dependencies_parsed_at":"2024-09-09T06:37:21.210Z","dependency_job_id":"655a695b-5783-4adc-bc0d-64a177e8bdc1","html_url":"https://github.com/scroll-tech/poseidon-bn254","commit_stats":null,"previous_names":["scroll-tech/poseidon-bn254"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scroll-tech/poseidon-bn254","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fposeidon-bn254","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fposeidon-bn254/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fposeidon-bn254/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fposeidon-bn254/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scroll-tech","download_url":"https://codeload.github.com/scroll-tech/poseidon-bn254/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fposeidon-bn254/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003901,"owners_count":26083641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T14:30:19.521Z","updated_at":"2025-10-10T12:31:05.047Z","avatar_url":"https://github.com/scroll-tech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# poseidon-bn254\n\na computational only implementation of the Poseidon hash using in \n[poseidon-circuit](https://github.com/scroll-tech/poseidon-circuit).\n\n## Comparison with poseidon-circuit\n\n| task                          | poseidon-bn254 cycles | poseidon-circuit cycles |      difference |\n|:------------------------------|----------------------:|------------------------:|----------------:|\n| hash_with_domain([0, 0], 0) * |                   732 |                   8,199 |    7,467 (-91%) |\n| hash_with_domain([1, 2], 3)   |                 6,616 |                   8,199 |  1,583 (-19.3%) |\n| hash_msg(1, None)             |                 6,580 |                   8,192 |  1,612 (-19.7%) |\n| hash_msg(1, Some(1))          |                 6,563 |                   8,192 |  1,629 (-19.9%) |\n| hash_msg(10, None)            |                29,605 |                  34,340 |  4,735 (-13.8%) |\n| hash_msg(10, Some(10))        |                29,662 |                  34,341 |  4,679 (-13.6%) |\n| hash_code(\"\")                 |                   475 |                   8,719 |  8,244 (-94.6%) |\n| hash_code(128)                |                20,564 |                  24,329 |  3,765 (-15.5%) |\n| hash_code(256)                |                34,393 |                  39,364 |  4,971 (-12.6%) |\n| hash_code(1024)               |               117,892 |                 130,052 |  12,160 (-9.4%) |\n| hash_code(4096)               |               462,836 |                 505,385 |  42,549 (-8.4%) |\n| hash_code(16384)              |             1,831,155 |               1,993,659 | 162,504 (-8.2%) |\n| hash_code(24576) **           |             2,743,359 |               2,985,843 | 242,484 (-8.1%) |\n\n\u0026ast;`hash_with_domain([0, 0], 0)` is the hash of the empty message.\n\n** 24576 is the maximum bytecode size limit on ethereum mainnet.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscroll-tech%2Fposeidon-bn254","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscroll-tech%2Fposeidon-bn254","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscroll-tech%2Fposeidon-bn254/lists"}