Coder Social home page Coder Social logo

jorislimonier / cryptography-code Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 1.39 MB

Coding / decoding of several ciphers.

Python 17.58% R 27.02% Julia 55.40%
cryptography caesar-cipher vigenere-cipher substitution-cipher permutation-cipher julia rsa-cryptography

cryptography-code's Introduction

Cryptography code

Coding / decoding of several ciphers (details below).

Table of contents

Folder structure

|
├── Caesar
|   └── Caesar Python
├── Vigenère
|   ├── Vigenère Python
|   └── Vigenère R
├── Substitution
|   └── Substition Julia
├── Permutation
|   └── Permutation Julia
└── RSA
    └── RSA Julia

Codes implemented

Julia Python R
Caesar cipher Yes Yes No
Vigenère cipher Yes Yes Yes (link)
Substitution Yes No No
Permutation Yes No No
RSA Yes No No

TODO

  • R
    • Add documentation
    • Add useful error message when no key is input (Vigenère)

Contributions

Future contributions

All contributions are welcome. The code can very much be improved, be it corrections, comments, code cleaning...etc.

If you are familiar with other programming languages, you are very welcome to send me your implemention of the concepts seen in class and I will post them in this repo.

Past contributions

Thank you to Sébastien PLAASCH ([email protected]) for providing the R code, as well as making the app accessible online via browser. Sébastien specifically provided heavy comments in the code in order to make it understandable to newcomers.

Get in touch

For any question/remark, please feel free to email me at [email protected] .

Log

Click to open

22/05/21:

  • Finish RSA implemention in Julia.

28/04/21:

  • Start of RSA implemention in Julia.

27/04/21:

  • Renamed substitution Julia
  • Added variants of substitution Julia
  • Permutation (Julia)

16/04/21:

  • Substitution (Julia)

Prior to 16/04/21:

  • Caesar cipher (Julia)
  • Caesar cipher (Python)
  • Vigenère cipher (Julia)
  • Vigenère cipher (Python)
  • Vigenère cipher (R)

cryptography-code's People

Contributors

jorislimonier avatar plaaschou avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

plaaschou

cryptography-code's Issues

Fix error when no key is entered

In the Vigenere (de)cipher for the R code

The following error message is displayed:
Error: An error has occurred. Check your logs or contact the app author for clarification.

This happens when no key is entered in the KEY textbox. Would be nice to add a more useful message such as "Please enter a key in the KEY textbox".

@Plaaschou ?

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.