{"id":30355695,"url":"https://github.com/berkekaragoz/caesars-cipher","last_synced_at":"2026-05-10T05:09:20.965Z","repository":{"id":57680509,"uuid":"493616065","full_name":"BerkeKaragoz/caesars-cipher","owner":"BerkeKaragoz","description":"A library that provides a simple interface to the ceasers cipher for browser and node.js.","archived":false,"fork":false,"pushed_at":"2022-05-19T14:31:43.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T02:49:42.583Z","etag":null,"topics":["caesar-cipher","cryptography","mocha","typescript","typescript-library"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/caesars-cipher","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/BerkeKaragoz.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":"2022-05-18T10:31:18.000Z","updated_at":"2022-05-18T15:50:59.000Z","dependencies_parsed_at":"2022-09-01T14:51:40.215Z","dependency_job_id":null,"html_url":"https://github.com/BerkeKaragoz/caesars-cipher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BerkeKaragoz/caesars-cipher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BerkeKaragoz%2Fcaesars-cipher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BerkeKaragoz%2Fcaesars-cipher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BerkeKaragoz%2Fcaesars-cipher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BerkeKaragoz%2Fcaesars-cipher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BerkeKaragoz","download_url":"https://codeload.github.com/BerkeKaragoz/caesars-cipher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BerkeKaragoz%2Fcaesars-cipher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271103202,"owners_count":24699646,"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-19T02:00:09.176Z","response_time":63,"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":["caesar-cipher","cryptography","mocha","typescript","typescript-library"],"created_at":"2025-08-19T05:12:57.324Z","updated_at":"2026-05-10T05:09:20.929Z","avatar_url":"https://github.com/BerkeKaragoz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# caesars-cipher\n\nA library that provides a simple interface to the caesars cipher with a large range.\n\nUses the legal range of UTF-8 instead of the regular alphabet: **0x80** _(128)_\n\n`caesars-cipher/base64`: Converts to base64 then shifts them.\n`caesars-cipher/uri-encoded`: Encodes as uri then shifts them.\n\n![image](https://user-images.githubusercontent.com/34271483/169030025-f58720e8-6800-4bab-921e-c1a12565b895.png)\n\nYou can try it out at the widget at [berkekaragoz.com](https://berkekaragoz.com).\n\n## Usage\n\n```ts\nimport { caesarsCipher, caesarsDecipher } from \"caesars-cipher/uri-encoded\";\nimport {\n  base64CaesarsCipher,\n  base64CaesarsDecipher,\n} from \"caesars-cipher/base64\";\n\n// uri-encoded\ncaesarsCipher(\"Cipher\", 10); // Mszro|\ncaesarsDecipher(\"Mszro|\", 10); // Cipher\n\n// base64\nbase64CaesarsCipher(\"Cipher\", 10); // [\u003cv☺kQ`♥\nbase64CaesarsDecipher(\"[\u003cv☺kQ`♥\", 10); // Cipher\n```\n\nTypes:\n\n```ts\ntype CaesarsCipher = (text: string, shiftAmount: number) =\u003e string;\ntype CaesarsDecipher = (cipheredText: string, shiftAmount: number) =\u003e string;\n```\n\n![image](https://user-images.githubusercontent.com/34271483/169052415-a29a6c2b-6b78-47e8-a3f5-e975f7406904.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberkekaragoz%2Fcaesars-cipher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberkekaragoz%2Fcaesars-cipher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberkekaragoz%2Fcaesars-cipher/lists"}