Giter Club home page Giter Club logo

cryrsa's Introduction

CryRSA - RSA Encryption & Decryption tool

CryRSA est un outil en Python de chiffrage et de déchiffrage qui utilise le chiffrement RSA, compatible avec openssl.

Prerequisities

  • Python2.7
  • Crypto
pip install Crypto

Getting Started

$ python cryRSA.py

usage: cryRSA.py [-h] [-d] [-e] [-i INPUT] [-k KEY] [-o OUTPUT]
                 [-p PASSPHRASE] [-g GENERATE] [-V]

Creation des keys:

$ python cryRSA.py -g 4096
  Passphrase:
  Re-enter passphrase:

  Key can encrypt: True
  key can sygn: True
  key has private: True

  Public key created: public_key.pem
  Private key created: private_key.pem

Exemple pour chiffrer un fichier:

$ python crysher.py -e -k public_key.pem -i my_file -o encrypt_file
  Passphrase:
  Re-enter passphrase:

Chiffrer un text sur l'entrée standard (Ctrl + D: pour arreter la saissie)

$ python cryRSA.py -e -k public_key.pem -o encrypt_file  -p "my_password"
  hello, it's a secret message!

Exemple pour déchiffrer un fichier:

$ python crysher.py -d -key private_key.pem -i encrypt_file -o my_new_file

Differentes option sont disponibles:

  • -p PASSPHRASE defini un password
  • -g BITS defini le nombre de bits de la key (1024, 4096)
  • -v mode verbose
  • -h affiche l'aide

Deployment

Crysher est compatible sur:

  • Linux

Authors

  • AneoPsy - Initial work

Acknowledgments

  • Cryptographie
  • Python

cryrsa's People

Contributors

aneopsy avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

uwevil

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.