Git Product home page Git Product logo

10-python-caesar-cipher's Introduction

Python-Caesar-Cipher

Caesar Cipher with Python

To run Caesar encryption with Python, follow these steps:

(Caesar encryption is based on adding a given stride (integer) to each letter in the message. For example, a message "aaa" with a stride of "1" would create an encrypted message "bbb").

As a prerequisite, you must have Python installed on your system. And in the case of a remote server, this is not an easy task.

Either way, make a copy of the URL from 'Code' > 'Clone' > 'HTTPS' and set it to your working directory.

$ git clone https://github.com/vi-u/10-Python-Caesar-Cipher.git

$ ls

└─ 10-Python-Caesar-Cipher

$ cd 10-Python-Caesar-Cipher

To run it from your working directory, just type the command:

$ python cc_encrypt.py

As a result, you should get something like this:

└─$ python cc_encrypt.py

└─ Welcome to Caesar Cipher Encryption.

└─ Enter the message you want to encrypt: AaZz

└─ Enter cipher step: 1

└─ Encrypting your message...

└─ Wait, almost done...

└─ Your encrypted message:

└─ bbaa


A similar command performs decryption

$ python cc_dencrypt.py 

10-python-caesar-cipher's People

Contributors

vi-u avatar

Stargazers

 avatar  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.