encrypt or decrypt caesar ciphers
Project description
Installation
pip install pnu-rot13
ROT13(1)
NAME
rot13 — encrypt or decrypt caesar ciphers
SYNOPSIS
rot13 [-p|--printable] [-r|--rotate number] [--debug] [--help|-?] [--version] [--] [string ...] [filename ...]
DESCRIPTION
The rot13 utility encrypts or decrypts caesar ciphers using a rotation of 13 characters. By default, rot13 reads from the standard input and writes to the standard output. If an optional parameter corresponding to a valid filename is given, rot13 will process this file instead. If the optional parameter is not a filename, rot13 will rotate this string.
OPTIONS
Options | Use |
---|---|
-p|--printable | Rotate all printable ASCII characters instead of just the alphabetical ones |
-r|--rotate number | Rotate ''number'' characters instead of 13 |
--debug | Enable debug mode |
--help|-? | Print usage and a short help message and exit |
--version | Print version and exit |
-- | Options processing terminator |
ENVIRONMENT
The ROT13_DEBUG environment variable can also be set to any value to enable debug mode.
EXIT STATUS
The rot13 utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
STANDARDS
The rot13 utility is a standard UNIX command, though not a POSIX one.
It tries to follow the PEP 8 style guide for Python code.
PORTABILITY
Tested OK under Windows.
HISTORY
Rotated postings to USENET and some of the databases used by the fortune(6) program are rotated by 13 characters.
This re-implementation was made for the PNU project.
The ability to process optional strings or filenames, as well as choosing a different rotation or character set, has been added in this re-implementation.
LICENSE
This utility is available under the 3-clause BSD license.
AUTHORS
The man page is derived from the FreeBSD project's one.
CAVEATS
Unicode characters are left unchanged.
SECURITY CONSIDERATIONS
This command's only purpose is to obfuscate a text, rather than seriously intending to protect it. This last purpose has been deprecated about 2000 years ago!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pnu_rot13-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e071f8c9391d1d450784a9b706205d6a8408f95c741896b018909019a0b99ea2 |
|
MD5 | 234638804018e4cb4de980e878d41d05 |
|
BLAKE2b-256 | e385dc4deed9ae2402272e89a6d066f30601e64b08acc7cdf108d68276042721 |