cesar
Cesar (de)ciphers a given text with Caesar Cipher.
Calling cesar
As a Python script, it can be called with:
python cesar.py [options]
Alternatively, it can be used as a system command:
./cesar.py [options]
One could copy the file to a location in $PATH and remove the extension.
That way you could just call it from anywhere as:
cesar [options]
Usage
Cesar is written so it behaves as any other GNU/Linux console command.
Admits the input message in three different ways:
- Direct input after calling the command (default).
- Add input to the command (-m option).
- Read input from file (-i option).
The input can either be:
- A plain message to cipher (default).
- A ciphered message to decipher (-d option).
The ouput will be either:
- Shown in the console (default).
- Written to a file (-o option, overwrites, add -a to append).
Help can be seen using -h, --help option.
Version can be seen using --version option.
Notes
Due to the cyclical nature of this cipher, there is no actual difference between encryption and decryption but the key used.
For example, a shift of 3 to the left is equivalent to a shift of 23 to the right.
Warning
This cipher is not secure AT ALL. It is provided for its historical significance (and also for fun!).
DO NOT USE IT TO CIPHER ANY INFORMATION YOU WOULD LIKE TO REMAIN SECURE.
Metadata
Release files for cesar 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cesar-1.0.5.tar.gz | 17.3 kB | Without provenance | Details for cesar-1.0.5.tar.gz |
Release files / cesar-1.0.5.tar.gz
| Download URL | cesar-1.0.5.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c59197c1715b807c55d7623ac46793e2033cf917a8b0d3c7682ad020221bf957
|
|
BLAKE2b-256 checksum How to use checksums |
6a0dbee44b0d5ac5d664b30433ca2a4b4b711a0c43824a2faefda41daa02b97b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cesar 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.