{"id":16092379,"url":"https://github.com/bukinoshita/caesar-encrypt","last_synced_at":"2025-03-18T06:31:00.437Z","repository":{"id":57192656,"uuid":"82938874","full_name":"bukinoshita/caesar-encrypt","owner":"bukinoshita","description":":closed_lock_with_key: One of the simplest forms of encryption","archived":false,"fork":false,"pushed_at":"2019-06-04T04:38:22.000Z","size":9,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T07:51:15.167Z","etag":null,"topics":["caesar-cipher","cipher","crypto","cryptography","nodejs"],"latest_commit_sha":null,"homepage":"","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/bukinoshita.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":"2017-02-23T15:07:14.000Z","updated_at":"2020-11-24T03:23:47.000Z","dependencies_parsed_at":"2022-08-24T05:21:19.149Z","dependency_job_id":null,"html_url":"https://github.com/bukinoshita/caesar-encrypt","commit_stats":null,"previous_names":["bukinoshita/caesar"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fcaesar-encrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fcaesar-encrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fcaesar-encrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bukinoshita%2Fcaesar-encrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bukinoshita","download_url":"https://codeload.github.com/bukinoshita/caesar-encrypt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910275,"owners_count":20367536,"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":["caesar-cipher","cipher","crypto","cryptography","nodejs"],"created_at":"2024-10-09T16:07:45.298Z","updated_at":"2025-03-18T06:31:00.171Z","avatar_url":"https://github.com/bukinoshita.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# caesar-encrypt [![Build Status](https://travis-ci.org/bukinoshita/caesar.svg?branch=master)](https://travis-ci.org/bukinoshita/caesar)\n\u003e One of the simplest forms of encryption\n\n\n## Install\n```\n$ npm install --save caesar-encrypt\n```\n\n\n## Usage\n```js\nimport { encrypt, decrypt } from 'caesar-encrypt'\n\nencrypt('not-my-password', 1)\n// =\u003e opu.nz.qbttxpse\n\ndecrypt('opu.nz.qbttxpse', 1)\n// =\u003e not-my-password\n```\n\n\n## API\n### caesarEncrypt\n\n### .encrypt(input, shift)\n\n#### input\nType: `string`\u003cbr/\u003e\nRequired\n\n#### shift\nType: `number`\u003cbr/\u003e\nRequired\n\nshift should be a number between 1-26\n\n\n### .decrypt(input, shift)\n\n#### input\nType: `string`\u003cbr/\u003e\nRequired\n\n#### shift\nType: `number`\u003cbr/\u003e\nRequired\n\nshift should be a number between 1-26\n\n## Understand Caesar Cipher\n\u003e The Caesar cipher, also known as a shift cipher, is one of the simplest forms of encryption. It is a substitution cipher where each letter in the original message (called the plaintext) is replaced with a letter corresponding to a certain number of letters up or down in the alphabet. [Learn more](https://learncryptography.com/classical-encryption/caesar-cipher)\n\n\n## Related\n- [save-me](https://github.com/bukinoshita/save-me) — :lock: Save anything\n\n\n## License\nMIT © [Bu Kinoshita](https://bukinoshita.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbukinoshita%2Fcaesar-encrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbukinoshita%2Fcaesar-encrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbukinoshita%2Fcaesar-encrypt/lists"}