{"id":19456184,"url":"https://github.com/juliogarciape/crypi","last_synced_at":"2025-06-11T16:05:36.776Z","repository":{"id":255268625,"uuid":"849054510","full_name":"juliogarciape/crypi","owner":"juliogarciape","description":"A fun and simple security library for NodeJS with easy integration","archived":false,"fork":false,"pushed_at":"2024-09-20T23:17:05.000Z","size":88,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T05:36:37.070Z","etag":null,"topics":["algorithms","caesar-cipher","encryption-decryption","security-library","security-tools"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/crypi","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/juliogarciape.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-28T22:28:25.000Z","updated_at":"2024-09-20T23:17:08.000Z","dependencies_parsed_at":"2024-08-29T00:27:19.877Z","dependency_job_id":"e0745d85-249c-4003-91d3-7b31e99dd93f","html_url":"https://github.com/juliogarciape/crypi","commit_stats":null,"previous_names":["juliogarciape/crypi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/juliogarciape/crypi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliogarciape%2Fcrypi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliogarciape%2Fcrypi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliogarciape%2Fcrypi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliogarciape%2Fcrypi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juliogarciape","download_url":"https://codeload.github.com/juliogarciape/crypi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juliogarciape%2Fcrypi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259293097,"owners_count":22835539,"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":["algorithms","caesar-cipher","encryption-decryption","security-library","security-tools"],"created_at":"2024-11-10T17:16:20.187Z","updated_at":"2025-06-11T16:05:36.759Z","avatar_url":"https://github.com/juliogarciape.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crypi :snake:\n\n![Downloads](https://img.shields.io/npm/dm/crypi?label=Downloads\u0026color=blue\u0026logo=npm)\n![Build status](https://img.shields.io/github/actions/workflow/status/juliogarciape/crypi/ci.yml?branch=main\u0026label=Status\u0026logo=github)\n![Npm Version](https://img.shields.io/npm/v/crypi?label=Version\u0026color=yellow\u0026logo=npm)\n![License](https://img.shields.io/npm/l/crypi?label=License\u0026color=red\u0026logo=github)\n\n**A fun and simple security library for NodeJS with easy integration**\n\n## Support Us :sparkling_heart:\n\nIf you find this project useful and want us to keep improving it, please consider:\n\n- **Star the Repo**: [Give it a star](https://github.com/juliogarciape/crypi) on GitHub to help increase its visibility.\n- **Share**: Let others know about this project.\n\n## Installation :package:\n\nTo install Crypi, use npm:\n\n```sh\nnpm install crypi\n```\n\n## Usage :computer:\n\nImport the package into your project:\n\n```javascript\nimport { caesarCipher, caesarDecipher } from 'crypi';\n```\n\nEncrypt a message:\n\n```javascript\nconst originalText = 'Hello World!';\nconst encryptedText = caesarCipher(originalText);\nconsole.log('Encrypted text:', encryptedText);\n```\n\nDecrypt a message:\n\n```javascript\nconst decryptedText = caesarDecipher(encryptedText);\nconsole.log('Decrypted text:', decryptedText);\n```\n\n## Documentation :book:\n\n### \u003e Caesar Cipher:\n\nThe Caesar Cipher is a substitution cipher used in cryptography that shifts the alphabet by a fixed number of positions. It is one of the simplest and most widely known encryption techniques.\n\n#### caesarCipher (text: string, shift: number = 3): string\n\nEncrypts a message using the Caesar cipher.\n\n- `text`: The message to be encrypted.\n- `shift`: The number of positions to shift the alphabet. Default is 3.\n\n#### caesarDecipher (text: string, shift: number = 3): string\n\nDecrypts a message using the Caesar cipher.\n\n- `text`: The message to be decrypted.\n- `shift`: The number of positions to shift the alphabet. Default is 3.\n\n\u003e [!NOTE]\n\u003e During encryption using the **`caesarCipher`** function, characters not part of the Latin alphabet, such as uppercase letters, accented characters, non-alphanumeric characters, or numbers, will be ignored and will retain their original form.\n\n## Contributing :handshake:\n\nContributions are welcome! If you have a major change in mind, please open an `Issue` to discuss it before submitting a `Pull Request`.\n\n## License :scroll:\n\nThis project is licensed under the GNU General Public License v3.0 see the [LICENSE](LICENSE) file for details.\n\n## Contact :email:\n\nFor questions or support, please contact me at [dev.juliogarciape@gmail.com](mailto:dev.juliogarciape@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliogarciape%2Fcrypi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliogarciape%2Fcrypi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliogarciape%2Fcrypi/lists"}