Giter VIP home page Giter VIP logo

dms-codes / kriptografi-rot13 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2 KB

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.

Home Page: https://github.com/dms-codes/kriptografi-rot13

Python 100.00%
caesar-cipher python rot13

kriptografi-rot13's Introduction

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:

python your_script_name.py
  1. 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:

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.


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.

kriptografi-rot13's People

Contributors

dms-codes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.