{"id":17220133,"url":"https://github.com/leonardiwagner/minicrip","last_synced_at":"2025-08-11T04:19:07.097Z","repository":{"id":73697414,"uuid":"13121095","full_name":"leonardiwagner/minicrip","owner":"leonardiwagner","description":"Public-key cryptography","archived":false,"fork":false,"pushed_at":"2015-02-22T16:09:05.000Z","size":8824,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T15:26:11.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://hideboy.herokuapp.com/","language":"JavaScript","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/leonardiwagner.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}},"created_at":"2013-09-26T12:00:47.000Z","updated_at":"2016-08-30T17:19:44.000Z","dependencies_parsed_at":"2023-02-26T00:15:45.511Z","dependency_job_id":null,"html_url":"https://github.com/leonardiwagner/minicrip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leonardiwagner/minicrip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardiwagner%2Fminicrip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardiwagner%2Fminicrip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardiwagner%2Fminicrip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardiwagner%2Fminicrip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonardiwagner","download_url":"https://codeload.github.com/leonardiwagner/minicrip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardiwagner%2Fminicrip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269828791,"owners_count":24481794,"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-08-11T02:00:10.019Z","response_time":75,"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-10-15T03:51:37.210Z","updated_at":"2025-08-11T04:19:07.075Z","avatar_url":"https://github.com/leonardiwagner.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![img](https://raw.githubusercontent.com/leonardiwagner/hideboy/master/public/img/logo.png) ![img](https://travis-ci.org/leonardiwagner/hideboy.svg?branch=master)\n=====\nHideBoy is a lightweight public-key cryptography system. The cryptography algoritm is made at encryption time with the used public-key, this make the encryption algorith unique for each public-key, and even with this source code you can't decrypt without the correct public-key. This software doesn't save sensitive data such as IP, text or key, we only save text-length and used public-key length for metric purposes.\n\n\n# API endpoints\n\n- Encryption: http://hideboy.herokuapp.com/encrypt\n- Decryption: http://hideboy.herokuapp.com/decrypt\n\nBoth APIs expect a JSON POST with this schema: {text: \"some text\", key:\"some key\"}\n\n# How does it work?\n\nBasically each letter of a text has a code. What this cryptography system does is matching the original text letters code with public-key letters code. Each key code sum with original text code, that results in the encrypted text.\n\n|Text| a  | b  | c  | d | e  | f | g  |\n|----|----|----|----|---|----|---|----|\n|Text Values| 1  | 2  | 3  | 4 | 5  | 6 | 7  |\n|**Key**|**s** | **o**  | **m**  | **e** | **k**  | **e** | **y**  |\n|Key Values| 27 | 20 | 17 | 5 | 14 | 5 | 35 |\n|**Key Values Sum**|**4** | **1**  | **2**  | **-1** | **4**  | **-1** | **6**  |\n|Key Values Sum with Text| 5 | 3 | 5 | 3 | 8 | 4 | 13 |\n|**Result Text**| **e** | **c** | **e** | **c** | **h** | **d** | **m** |\n\n# How can it decrypt later?\n\nWith given encrypted text and the public-key used in encryption, the system will make the inverse sum, this will result in the original text again.\n\n# How safe this cryptography system is?\n\nThe encryption text is done by the given public-key at encryption time. This garantee that your encrypt algorith will be unique and no one without correct key can decrypt the text, even with the encryption source code.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardiwagner%2Fminicrip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonardiwagner%2Fminicrip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardiwagner%2Fminicrip/lists"}