{"id":16336701,"url":"https://github.com/jd91mzm2/rot26","last_synced_at":"2025-03-20T23:30:54.946Z","repository":{"id":57662702,"uuid":"117261054","full_name":"jD91mZM2/rot26","owner":"jD91mZM2","description":"Pure rust implementation of the rot26 algorithm","archived":false,"fork":false,"pushed_at":"2018-04-21T09:37:18.000Z","size":17,"stargazers_count":30,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T18:48:38.232Z","etag":null,"topics":["caesar-cipher","encryption","rot13","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/jD91mZM2.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":"2018-01-12T16:05:21.000Z","updated_at":"2025-01-24T10:06:56.000Z","dependencies_parsed_at":"2022-09-13T07:00:51.471Z","dependency_job_id":null,"html_url":"https://github.com/jD91mZM2/rot26","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jD91mZM2%2Frot26","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jD91mZM2%2Frot26/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jD91mZM2%2Frot26/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jD91mZM2%2Frot26/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jD91mZM2","download_url":"https://codeload.github.com/jD91mZM2/rot26/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244710524,"owners_count":20497254,"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","encryption","rot13","rust"],"created_at":"2024-10-10T23:44:48.725Z","updated_at":"2025-03-20T23:30:54.593Z","avatar_url":"https://github.com/jD91mZM2.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [rot26](http://rot26.org/) [![Crates.io](https://img.shields.io/crates/v/rot26.svg)]()\n\n\u003e ROT13 (\"rotate by 13 places\", sometimes hyphenated ROT-13) is a letter substitution cipher that replaces a letter with the letter 13 letters after it in the alphabet.\n\u003e Instead of only rotating 13 places, ROT26 rotates twice as many characters in the alphabet and is therefore twice as secure.\n\nPure rust rewrite of the rot26 algorithm.  \nEven maintains support for rot13 and *any* rot, with friendly helpful comments advising you to just stick to rot26.\n\n\u003e ROT26 encryption \u0026 decryption is very complex and requires a powerful, purpose-built super-computer to perform all the calculations... which we have created.\n\u003e So, to encourage more developers to use ROT26 in their mobile, web and PC software applications we are offering a very easy to use and totally free ROT26 encryption and decryption REST web service.\n\nThis is no longer true.  \nThat and all the following are features now possible thanks to Rust:\n\n - Complete unicode support. Disregards any non-alphabetical symbols! (was probably possible before actually)\n - Unit tests.\n\n## Speeeeeeeed\n\nIf being able to actually run this heavy algorithm on your computer isn't facinating enough,\nyou can also use `rayon` for multithreading!  \nSimply use it with the `rayon` feature. But by default, rot26 is and forever will be\\* without dependencies.\n\n\\* no promises\n\n# Examples\n\nSimply call `rot26::encrypt` on any string. For example:\n\n```Rust\nrot26::encrypt(\"hello\") // returns \"hello\"\n```\n\nto decrypt, use `rot26::decrypt`\n\n```Rust\nrot26::decrypt(\"hello\") // returns \"hello\"\n```\n\n# Support for C!\n\nBecause C is the mostly used language, we've spent more time porting this algorithm than it would take to rewrite it in C.  \nNow you can get Rust's awesome unicode support while still using C!  \nIt's kind of like buying a new saddle for your dead horse!\n\nSimply link it with `target/release/librot26.a` and include `rot26.h`!\n\nExample:\n```C\nconst char* encrypted = rot26_encrypt(\"hello\");\nputs(encrypted);\n\nrot26_free(encrypted);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd91mzm2%2Frot26","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjd91mzm2%2Frot26","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd91mzm2%2Frot26/lists"}