Giter Club home page Giter Club logo

caesarcipher's Introduction

CaesarCipher

Author: Edgard Diaz
Date: 17th march 2020	

In this project I develop a plaintext file encryption using shift encryption or César encryption, 
this project was implemented in   the Python programming language.

To perform the Caesar cipher, the alphabet can be represented by modular arithmetic 
by first transforming the letters into numbers, as shown below, A → 0, B → 1, ..., Z → 25. 
Based on this, you can perform encryption of a letter x using an n-letter offset, 
and such encryption can be described mathematically as (1):

					E_n(x)  = (x + n) % 61					(1)

The decryption process is performed in a similar way using (2)

					D_n(x) = (x - n) % 61					(2)
					
It is worth mentioning that the cipher considers the use of an alphabet of letters 
from A to Z lowercase and uppercase, as well as the numbers from zero to nine.

caesarcipher's People

Contributors

josgard94 avatar

Stargazers

 avatar

Watchers

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