💾 Archived View for icolotl.com › repos › morgrot › README.md captured on 2024-08-18 at 19:16:52.
⬅️ Previous capture (2024-05-26)
-=-=-=-=-=-=-
# MORGROT (Morgana's Offline-First Rot13 Program) ## Introduction This is a very basic [shift cypher](https://en.wikipedia.org/wiki/Caesar_cipher) encoder and decoder, created to serve as a basic offline tool and as my submission to the OFFLFIRSOCH. Two copies are included here, a [Rust version](src/main.rs) which is currently the recommended version, along with a [C version](old_version/morgrot.c) which functions pretty much identically and was the original. Although I doubt either program will be of much use to anyone except me, they're all licensed under the GPL3+, so feel free modify/use them for your own usage. For more information, see the relevant Retrace post (on [Gemini](https://geminiprotocol.net/)) at [0x0005-acanthus-spinosus](gemini://icolotl.com/gemlog/0x0005-acanthus-spinosus). ## Usage Both programs read standard input and output to standard output, so you can pipe input text to the program or enter it interactively followed by a EOF (usually Ctrl-D on most terminals.) ## Examples
$ echo "Lorem ipsum dolor sit amet, consectetur adipiscing elit." | ./morgrot
Yberz vcfhz qbybe fvg nzrg, pbafrpgrghe nqvcvfpvat ryvg.
$ echo "Lorem ipsum dolor sit amet, consectetur adipiscing elit." | ./morgrot 3
Oruhp lsvxp groru vlw dphw, frqvhfwhwxu dglslvflqj holw.
$ echo "Oruhp lsvxp groru vlw dphw, frqvhfwhwxu dglslvflqj holw." | ./morgrot -3
Lorem ipsum dolor sit amet, consectetur adipiscing elit.