Skip to main content

Super easy-to-use encryption and decryption tool

Project description

https://travis-ci.org/MacHu-GWU/windtalker-project.svg?branch=master https://codecov.io/gh/MacHu-GWU/windtalker-project/branch/master/graph/badge.svg https://img.shields.io/pypi/v/windtalker.svg https://img.shields.io/pypi/l/windtalker.svg https://img.shields.io/pypi/pyversions/windtalker.svg https://img.shields.io/badge/Star_Me_on_GitHub!--None.svg?style=social

Welcome to windtalker Documentation

In World War II, US Marine specially recruited a lots of bilingual Navajo speakers to serve in their standard communications units in the Pacific Theater. These Navajo transmitted tactical messages over military telephone or radio communications nets using formal or informally developed codes built upon their native languages. These people, we call them — Wind Talker

windtalker is a utility tools built on top of cryptography and rsa. With this, you can encrypt/decrypt binary data, text, files or even a entire directory in single line of code! It support both symmetry and asymmetry encryption algorithm. For usage, you should start from HERE

Example (SymmtricCipher):

>>> from windtalker import SymmetricCipher
>>> c = SymmetricCipher(password="password") # Fernet encrypter
>>> c.encrypt_text("Hello")
Z0FBQUFBQlo0VHpVVjdWR0xCb0VEc0dMVUxib25jZEwzTWZ1UC1raFVmWndwNERrTmZVR1hNdzE3ZS05RWkwWXBrTi1adUhRWTNWYkxUT1Vkekh3MlVVcHZXLWxaMWMyOEE9PQ==

>>> c.encrypt_file(r"C:\test.py") # c.decrypt_file(xxx) for decryption
C:\test-encrypted.py

>>> c.encrypt_dir(r"C:\User\Admin\Document") # c.decrypt_dir(xxx) for decryption
C:\User\Admin\Document-encrypted.py

HARDCODE YOUR PASSWORD IN YOUR CODE IS DANGEROUS!:

You can create a .windtalker text file in your ${HOME} directory. and put your secret password in it. windtalker.SymmetricCipher can automatically read password from it.

${HOME} directory:

  • Windows: C:Users<username>
  • MacOS: /Users/<username>
  • Linux: /home/<username>

For more features and how to use RSA to encrypt your file or directory, please read THIS

Install

windtalker is released on PyPI, so all you need is:

$ pip install windtalker

To upgrade to latest version:

$ pip install --upgrade windtalker

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
windtalker-0.0.6-py2-none-any.whl (24.4 kB) Copy SHA256 hash SHA256 Wheel py2
windtalker-0.0.6.tar.gz (21.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page