Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dms-codes/kriptografi-vigenere
Vigenère Cipher Encryption This Python script performs Vigenère cipher encryption on a given plaintext message using a provided keyword.
https://github.com/dms-codes/kriptografi-vigenere
python vigenere vigenere-cipher vigenere-cipher-algorithm
Last synced: 2 days ago
JSON representation
Vigenère Cipher Encryption This Python script performs Vigenère cipher encryption on a given plaintext message using a provided keyword.
- Host: GitHub
- URL: https://github.com/dms-codes/kriptografi-vigenere
- Owner: dms-codes
- Created: 2022-11-15T15:26:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-30T22:44:31.000Z (over 1 year ago)
- Last Synced: 2023-09-30T23:28:30.660Z (over 1 year ago)
- Topics: python, vigenere, vigenere-cipher, vigenere-cipher-algorithm
- Language: Python
- Homepage: https://github.com/dms-codes/kriptografi-vigenere
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vigenère Cipher Encryption
This Python script performs Vigenère cipher encryption on a given plaintext message using a provided keyword.
## Features
- Encrypts plaintext messages using the Vigenère cipher with a user-defined keyword.
- Supports uppercase letters.
- Preserves spaces and special characters in the input message.
- Repeats the keyword as needed to match the length of the plaintext message.## Usage
1. Modify the `keyword` and `plaintext` variables with the keyword and 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 the ciphertext.
## Example
Suppose you have the following lines of code in your script:
```python
keyword = 'VIGENERE'
plaintext = 'SELAMATDATANGDIKELASKRIPTOGRAFIYA'
```After running the script, you will see the following output:
```
CIPCVHVWMJAZWUVRGMIUBTZYSPIK
```## License
This script is provided under the [MIT License](LICENSE).
```Replace `"your_script_name.py"` with the actual name of your script. Feel free to customize the README.md file to include additional information or usage examples as needed for your project.