Skip to content

Decrypto is a simple python based application to decrypt popular ciphers for users finding it difficult to analyse them.

License

Notifications You must be signed in to change notification settings

bhavyakh/decrypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decrypto

image

Introduction

Decrypto is a simple python based application to decrypt popular ciphers for users finding it difficult to analyse them. It uses multiple ciphers to decrypt an encrypted text and then look for English words to filter.

Deployed at decrypto-cipher.herokuapp.com

Currently the app is capable of solving 10+ most common ciphers. More to be implemented soon!

  • Alphabets Only
    • Atbash
    • ROT Shifts (1 to 26)
    • RailFence (3 to 5)
  • Alphanumeric
    • Base16, Base36, Base64
    • ASCII Shift (1 to 255)
  • Numeric
    • T9 cipher
    • DTMF
    • Binary to ASCII
    • Periodic table atomic number to symbols
    • Prime Indexing
    • A1Z26
  • Alphabetic Keyed
    • Vigenere

Apart from them, a method to decrypt Vigenere cipher without a key is also implemented. It performs dictionary attack on the keys and detect English words.

Requirements

pip install -r requirements.txt

Installation

Add FLASK_APP and FLASK_DEBUG environment variables

export FLASK_APP=/path/to/app.py
export FLASK_DEBUG=1

Run Using

flask run

Examples

App Screenshot

Testing

Tests can be performed with

python -m unittest

Future Changes

  • Use a more robust vigenere breaker tool.
    • Detect key length with moving index and rotations using statistical techniques
    • Apply brute force to keys with length less than 5
    • This guarantees result for bigger english sentences.
  • Add Decimal to ASCII and Bacon Cipher

LICENSE

MIT LICENSE

About

Decrypto is a simple python based application to decrypt popular ciphers for users finding it difficult to analyse them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published