{"id":50128745,"url":"https://github.com/atulmahind/PEKS","last_synced_at":"2026-06-26T13:01:17.275Z","repository":{"id":201273536,"uuid":"55319885","full_name":"atulmahind/PEKS","owner":"atulmahind","description":"Implementation of Public Key Encryption with Keyword Search ","archived":false,"fork":false,"pushed_at":"2016-04-03T10:15:05.000Z","size":4,"stargazers_count":28,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-10-25T22:48:06.486Z","etag":null,"topics":["keyword-search","peks","searchable-encryption"],"latest_commit_sha":null,"homepage":null,"language":"C","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/atulmahind.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}},"created_at":"2016-04-02T22:52:28.000Z","updated_at":"2023-10-01T06:15:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0e3dc5b-33ca-445e-a012-ac576205f064","html_url":"https://github.com/atulmahind/PEKS","commit_stats":null,"previous_names":["atulmahind/peks"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/atulmahind/PEKS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atulmahind%2FPEKS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atulmahind%2FPEKS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atulmahind%2FPEKS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atulmahind%2FPEKS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atulmahind","download_url":"https://codeload.github.com/atulmahind/PEKS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atulmahind%2FPEKS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34817641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"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":["keyword-search","peks","searchable-encryption"],"created_at":"2026-05-23T21:00:29.530Z","updated_at":"2026-06-26T13:01:17.268Z","avatar_url":"https://github.com/atulmahind.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# PEKS\n\nThis is the implementation of public-key searchable encryption using bilinear maps described in \nPublic Key Encryption with Keyword Search. It is a simple, command-line application developed in C.\n\n## Implementation Details\n\n#### Dependencies\n\n* GMP Library: \n\n  ```$ sudo apt-get install libgmp3-dev```\n* OpenSSL: \n\n  ```$ sudo apt-get install libssl-dev```\n* [PBC Library](https://crypto.stanford.edu/pbc)\n\n  ```\n  $ ./configure --prefix=$HOME/.local\n  $ make\n  $ make install\n  ```\n  Makefile uses this path. In case of change in destination directory, update the Makefile accordingly.\n\n#### Build\n\n   ```$ make```\n\n#### Run\n\n   ```$ ./peks \u003cword1\u003e \u003cword2\u003e```\n\n#### Usage\n\n```\n$ ./peks hello hello\nEqual\n$ ./peks Hello hello\nNot equal\n$ ./peks Supercalifragilisticexpialidocious Supercalifragilisticexpialidocious\nEqual\n$ ./peks Lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichlepikossyphophattoperisteralektryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon Lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichlepikossyphophattoperisteralektryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon\nEqual\n$ ./peks Lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichlepikossyphophattoperisteralektryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon Lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichlepikossyphophattoperisteraletryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon\nNot equal\n```\n\n*This work was a part of the master thesis from TU Dresden under the supervision of Dr. Josef Spillner and Martin Beck.\n\n## [Public Key Encryption with Keyword Search](http://eprint.iacr.org/2003/195.pdf) \n\nby Dan Boneh, Giovanni Di Crescenzo, Rafail Ostrovsky and Giuseppe Persiano.\n\nThe authors describe a way of appending information to a message that has \nbeen encrypted with a standard  public key cipher, which allows a server \nthat doesn’t have the private key necessary to  decrypt the entire message\nto still be able to search for a certain set of keywords. For a keyword, a \nPEKS value can be generated which will allow the server to perform a search\nusing a trapdoor.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatulmahind%2FPEKS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatulmahind%2FPEKS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatulmahind%2FPEKS/lists"}