{"id":13768646,"url":"https://github.com/skaunov/hash_to_curve","last_synced_at":"2026-02-14T16:25:50.121Z","repository":{"id":208438310,"uuid":"721630610","full_name":"skaunov/hash_to_curve","owner":"skaunov","description":"Noir lib for hashing to bigger curves","archived":false,"fork":false,"pushed_at":"2023-12-17T10:27:46.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-17T03:31:49.998Z","etag":null,"topics":["curve","field","hashing-library","noir","zero-knowledge","zk-snarks"],"latest_commit_sha":null,"homepage":"","language":"Roff","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skaunov.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-11-21T13:05:25.000Z","updated_at":"2024-10-13T12:15:56.000Z","dependencies_parsed_at":"2023-11-24T21:31:52.246Z","dependency_job_id":"88959b1e-7f83-4bac-9781-734db6971bbe","html_url":"https://github.com/skaunov/hash_to_curve","commit_stats":null,"previous_names":["skaunov/hash_to_curve"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skaunov%2Fhash_to_curve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skaunov%2Fhash_to_curve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skaunov%2Fhash_to_curve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skaunov%2Fhash_to_curve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skaunov","download_url":"https://codeload.github.com/skaunov/hash_to_curve/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253497296,"owners_count":21917683,"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","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":["curve","field","hashing-library","noir","zero-knowledge","zk-snarks"],"created_at":"2024-08-03T16:01:24.000Z","updated_at":"2026-02-14T16:25:50.093Z","avatar_url":"https://github.com/skaunov.png","language":"Roff","funding_links":[],"categories":["Libraries","Get Coding"],"sub_categories":["Cryptography","Libraries"],"readme":"This Noir `lib` is for hashing to a curve bigger than your backend field (currently default seems to be Grumkin). If you want to hash to a smaller curve it would be more reasonable to leverage `std` library facilities.\n\nExposes standard interface, consisting of: **`hash_to_curve`, `map_to_curve`, and `hash_to_field`**.\n\nCurrently limited to `secp256k1_XMD:SHA-256_SSWU_RO_` with _DST shorter than 256_. \\\nOther suites and features will be added upon demand.\n\nIf [the hasher] in your app is used for other purposes or shared -- pay attention to [Domain Separation Variants](https://www.rfc-editor.org/rfc/rfc9380.html#name-domain-separation-for-expan).\n[the hasher]: w.r.t. current limitations it's \u003chttps://noir-lang.org/dev/standard_library/cryptographic_primitives/hashes#sha256\u003e\n\n# how to `use`\nIn your \u003c./Nargo.toml\u003e file, add it to the `dependencies` section.\n```toml\n[dependencies]\nhash_to_curve = { tag = \"v0.1.1\", git = \"https://github.com/skaunov/hash_to_curve\" }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskaunov%2Fhash_to_curve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskaunov%2Fhash_to_curve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskaunov%2Fhash_to_curve/lists"}