{"id":21541843,"url":"https://github.com/bencoderus/node-encryption","last_synced_at":"2025-03-17T22:59:44.345Z","repository":{"id":104119893,"uuid":"477618746","full_name":"bencoderus/node-encryption","owner":"bencoderus","description":"Blind index implementation in NodeJS","archived":false,"fork":false,"pushed_at":"2023-02-12T02:50:29.000Z","size":89,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T08:31:32.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bencoderus.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":"2022-04-04T08:49:00.000Z","updated_at":"2022-04-04T09:12:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe6b788a-68ff-40e4-8883-6d93570c97d1","html_url":"https://github.com/bencoderus/node-encryption","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencoderus%2Fnode-encryption","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencoderus%2Fnode-encryption/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencoderus%2Fnode-encryption/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencoderus%2Fnode-encryption/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bencoderus","download_url":"https://codeload.github.com/bencoderus/node-encryption/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244124179,"owners_count":20401683,"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-11-24T05:07:49.193Z","updated_at":"2025-03-17T22:59:44.339Z","avatar_url":"https://github.com/bencoderus.png","language":"JavaScript","readme":"### Implementation of searchable encryption using a blind index in NodeJS.\nBlind indexing is an approach to securely search encrypted data with minimal information leakage. All the personally identifiable information is encrypted and stored in a database/data store. The database is not accessible to the user. The user can only search for the data using the encrypted search query. Blind index implements encryption at rest.\n\n## Requirements\n1. Node\n\n## Installation\n1. Clone repository\n2. cd node-encryption\n3. npm install\n4. npm run generate:data - Encrypts all the plain data and stores it in a json file for usage.\n5. npm run start - To start the server.\n\n## Testing\n- Get all the records\n```bash\ncurl http://localhost:3000/records\n```\n\n- Find by bvn (Change 12345678 to a valid bvn)\n```bash\ncurl --header \"Content-Type: application/json\" -d \"{\\\"bvn\\\":\\\"12345678\\\"}\" http://localhost:3000/records/find-by-bvn\n```\n\nPlease note all the records here are dummy data and this project was created to illustrate blind indexing in NodeJS.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencoderus%2Fnode-encryption","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbencoderus%2Fnode-encryption","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencoderus%2Fnode-encryption/lists"}