{"id":20608683,"url":"https://github.com/ikcede/js-one-time-pad","last_synced_at":"2026-05-29T06:31:05.451Z","repository":{"id":226380153,"uuid":"768493621","full_name":"ikcede/JS-One-Time-Pad","owner":"ikcede","description":"A simple one-time pad class built in Javascript","archived":false,"fork":false,"pushed_at":"2024-03-07T08:48:57.000Z","size":869,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T03:12:18.639Z","etag":null,"topics":["crypto","cryptography","javascript"],"latest_commit_sha":null,"homepage":"https://ikcede.github.io/JS-One-Time-Pad/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ikcede.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}},"created_at":"2024-03-07T07:26:54.000Z","updated_at":"2024-03-07T07:37:13.000Z","dependencies_parsed_at":"2024-03-07T09:52:05.705Z","dependency_job_id":"725a7dc4-b334-4149-8780-65bf3583aa68","html_url":"https://github.com/ikcede/JS-One-Time-Pad","commit_stats":null,"previous_names":["ikcede/js-one-time-pad"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikcede%2FJS-One-Time-Pad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikcede%2FJS-One-Time-Pad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikcede%2FJS-One-Time-Pad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikcede%2FJS-One-Time-Pad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikcede","download_url":"https://codeload.github.com/ikcede/JS-One-Time-Pad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242256101,"owners_count":20097908,"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":["crypto","cryptography","javascript"],"created_at":"2024-11-16T10:11:20.664Z","updated_at":"2025-12-08T06:02:10.271Z","avatar_url":"https://github.com/ikcede.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"JS-One-Time-Pad\n===============\n\nA simple one-time pad class built in Javascript, cleaned up\nfrom my 2014 version.\n\nSince there are 26 letters in the English alphabet, the encoder\nneeds to support at least 5 bits to represent each character.\nThe remaining 6 characters are set to commonly used characters,\nand the ? is used as a catch-all for unsupported characters.\n\n```js\n// Supported characters and their mapped values:\n{\n  0: 'A', 1: 'B', 2: 'C', 3: 'D', 4: 'E', 5: 'F', 6: 'G', 7: 'H',\n  8: 'I', 9: 'J', 10: 'K', 11: 'L', 12: 'M', 13: 'N', 14: 'O',\n  15: 'P', 16: 'Q', 17: 'R', 18: 'S', 19: 'T', 20: 'U', 21: 'V',\n  22: 'W', 23: 'X', 24: 'Y', 25: 'Z', 26: '.', 27: ' ', 28: ',',\n  29: '\\'', 30: '-', 31: '?'\n}\n```\n\n## Demo\n\nSee live demo [here](http://ikcede.github.io/JS-One-Time-Pad/).\n\n![Screenshot](demo-assets/screenshot.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikcede%2Fjs-one-time-pad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikcede%2Fjs-one-time-pad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikcede%2Fjs-one-time-pad/lists"}