Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dms-codes/kriptografi-rot13
Simple Caesar Cipher Encryption This Python script performs a simple Caesar cipher encryption and decryption on a given plaintext message. It shifts each letter in the alphabet by 13 positions to the right for encryption (Caesar cipher with a shift of 13), and reverses the process for decryption.
https://github.com/dms-codes/kriptografi-rot13
caesar-cipher python rot13
Last synced: 2 days ago
JSON representation
Simple Caesar Cipher Encryption This Python script performs a simple Caesar cipher encryption and decryption on a given plaintext message. It shifts each letter in the alphabet by 13 positions to the right for encryption (Caesar cipher with a shift of 13), and reverses the process for decryption.
- Host: GitHub
- URL: https://github.com/dms-codes/kriptografi-rot13
- Owner: dms-codes
- Created: 2022-11-15T14:42:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-30T22:39:14.000Z (over 1 year ago)
- Last Synced: 2023-09-30T23:27:54.302Z (over 1 year ago)
- Topics: caesar-cipher, python, rot13
- Language: Python
- Homepage: https://github.com/dms-codes/kriptografi-rot13
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Caesar Cipher Encryption
This Python script performs a simple Caesar cipher encryption and decryption on a given plaintext message. It shifts each letter in the alphabet by 13 positions to the right for encryption (Caesar cipher with a shift of 13), and reverses the process for decryption.
## Features
- Encrypts plaintext messages using a Caesar cipher with a shift of 13.
- Decrypts ciphertext messages by reversing the Caesar cipher process.
- Preserves spaces in the input message.
- Supports uppercase letters.## Usage
1. Modify the `plaintext` variable with the message you want to encrypt.
2. Run the script by executing the following command in your terminal:
```bash
python your_script_name.py
```3. The script will perform the encryption and print both the ciphertext and the decrypted message.
## Example
Suppose you have the following line of code in your script:
```python
plaintext = 'SELAMAT DATANG DI KELAS KRIPTOGRAFI'
```After running the script, you will see the following output:
```
FRYNZN GNFGNA QV XRYNF XEVFCBENSV
SELAMAT DATANG DI KELAS KRIPTOGRAFI
```## License
This script is provided under the [MIT License](LICENSE).
```Replace `"your_script_name.py"` with the actual name of your script. You can further customize the README.md file to include additional information or usage examples, depending on your project's needs.