Giter Club home page Giter Club logo

enigma's Introduction

Enigma

Encryption Software

Key & Inc

They are used for decrypting. Save them or memorize them, because without them you can't decrypt the message

Rules

  1. you can either read from a file (-f filname) or process a text (-m text), but not both at once.

  2. the program will only run if it has something to encrypt or decrypt (--lock or --unlock), if you don't add those your file or text will not get processed

  3. -m only reads one text at a time, so you can't do (-m "Hello World"), but can do (-m helloworld)

  4. you must have a key for lock and unlock

  5. you can encrypt a whole TEXT file either to display or to a file

  6. this program is only for TEXT

  7. beware of what pin you use, because some pins will not encrypt your message, for example pin: 26

usage: Enigma.py [-h] [-f FILE] [-o OUTPUT] [-m MSG] [--lock] [--unlock] key inc

Demos

Encrypting:

python Enigma.py -m helloworld --lock 17 3

Decrypting:

python Enigma.py -m yymrglwnr --unlock 17 3

Encrypt & Save:

python Enigma.py -o filename -m helloworld --lock 62 19

Decrypt & Save:

python Enigma.py -o save_to_file -m rxtostvmws --unlock 62 19

Read File, Encrypt & Display:

python Enigma.py -f filename --lock 46 13

Read File, Decrypt & Display:

python Enigma.py -f filename --unlock 46 13

Read File, Encrypt & Save:

python Enigma.py -f filename -o locked_file --lock 58 23

Read File, Decrypt & Save:

python Enigma.py -f filename -o unlocked_file --unlock 56 23

enigma's People

Contributors

bitwise-01 avatar

Stargazers

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