{"id":15395432,"url":"https://github.com/stef/liboprf","last_synced_at":"2025-04-14T22:50:45.882Z","repository":{"id":66440202,"uuid":"482620661","full_name":"stef/liboprf","owner":"stef","description":"library providing OPRF and Threshold OPRF based on libsodium","archived":false,"fork":false,"pushed_at":"2025-04-08T01:08:01.000Z","size":895,"stargazers_count":23,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T02:22:57.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stef.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-17T19:58:37.000Z","updated_at":"2025-04-08T01:08:06.000Z","dependencies_parsed_at":"2024-04-03T02:46:34.257Z","dependency_job_id":"534acf5d-c205-4959-94e8-e3b9eeb92a96","html_url":"https://github.com/stef/liboprf","commit_stats":{"total_commits":257,"total_committers":2,"mean_commits":128.5,"dds":"0.0077821011673151474","last_synced_commit":"4f454ac16feab93b0f4901ccbcc3d80c292e746b"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fliboprf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fliboprf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fliboprf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fliboprf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stef","download_url":"https://codeload.github.com/stef/liboprf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975299,"owners_count":21192199,"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":[],"created_at":"2024-10-01T15:28:18.924Z","updated_at":"2025-04-14T22:50:45.851Z","avatar_url":"https://github.com/stef.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# liboprf\n\nThis library implements the basic OPRF(ristretto255, SHA-512) variant\nfrom the IRTF CFRG Draft: https://github.com/cfrg/draft-irtf-cfrg-voprf/\n\nAdditionally it implements a threshold OPRF variant based on\nhttps://eprint.iacr.org/2017/363 by Krawczyk et al. which is\ncompatible with the CFRG OPRF(ristretto255, SHA-512) variant.\n\nFurthermore it also implements the 3hashTDH from\nhttps://eprint.iacr.org/2024/1455 \"Threshold PAKE with Security\nagainst Compromise of all Servers\" by Gu, Jarecki, Kedzior, Nazarian,\nXu. This too is compatible with the CFRG OPRF(ristretto255, SHA-512)\nvariant.\n\nFor the threshold OPRF this library also provides distributed\nkey-generation (DKG) implementation that is based on a trusted\nparty handling the broadcasts necessary for the DKG, this is\nbased on the JF-DKG (fig 1.) a variant on Pedersens DKG from\nthe paper \"Secure Distributed Key Generation for Discrete-Log\nBased Cryptosystems\" by R. Gennaro, S. Jarecki, H. Krawczyk,\nand T. Rabin.\n\nThe semi-trusted version of the DKG implements FT-Joint-DL-VSS from fig. 7 in\nR. Gennaro, M. O. Rabin, and T. Rabin. \"Simplified VSS and fact-track\nmultiparty computations with applications to threshold cryptography\" In B. A.\nCoan and Y. Afek, editors, 17th ACM PODC, pages 101–111. ACM, June / July 1998\n\n\nIn order to update a threshold OPRF instantiation this library contains the\nmulti-party multiplication is based on Fig. 2 from R. Gennaro, M. O. Rabin, and\nT. Rabin. \"Simplified VSS and fact-track multiparty computations with\napplications to threshold cryptography\" In B. A. Coan and Y. Afek, editors,\n17th ACM PODC, pages 101–111. ACM, June / July 1998.\n\nAdditionally a python wrapper is provided, which can be installed\nusing `pip install pyoprf`\n\nThis library depends on libsodium.\n\nThis project is funded through [NGI0 Entrust](https://nlnet.nl/entrust), a fund\nestablished by [NLnet](https://nlnet.nl) with financial support from the\nEuropean Commission's [Next Generation Internet](https://ngi.eu) program. Learn\nmore at the [NLnet project page](https://nlnet.nl/project/ThresholdOPRF).\n\n[\u003cimg src=\"https://nlnet.nl/logo/banner.png\" alt=\"NLnet foundation logo\" width=\"20%\" /\u003e](https://nlnet.nl)\n[\u003cimg src=\"https://nlnet.nl/image/logos/NGI0_tag.svg\" alt=\"NGI Zero Logo\" width=\"20%\" /\u003e](https://nlnet.nl/entrust)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstef%2Fliboprf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstef%2Fliboprf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstef%2Fliboprf/lists"}