Skip to main content
Documentation Status https://github.com/MacHu-GWU/windtalker-project/workflows/CI/badge.svg 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/Release_History!--None.svg?style=social https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Document-blue.svg https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to windtalker Documentation

https://windtalker.readthedocs.io/_static/windtalker-logo.png

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 to:

$ pip install windtalker

To upgrade to latest version:

$ pip install --upgrade windtalker

Metadata

Release files for windtalker 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for windtalker 1.0.1
File Size Uploaded
windtalker-1.0.1.tar.gz 18.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for windtalker 1.0.1
File Interpreter ABI Platform
windtalker-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 39.5 kB

Release files / windtalker-1.0.1.tar.gz

Download URL windtalker-1.0.1.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7e913ccd88c9e473d3b280793af6783f3384d72b55bc5f48ccb60d75197a34fc
BLAKE2b-256 checksum
How to use checksums
c8a0d8bb9fb1beb880b595fadc3fcf4dd5b1fbfce3bce76f21231351c81268f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release files / windtalker-1.0.1-py3-none-any.whl

Download URL windtalker-1.0.1-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
663d92a0dfadf6de24d1b684049931a063f481034a535b56ca47ab6f68cf7fbe
BLAKE2b-256 checksum
How to use checksums
eba6e9bcb46a8259e9b05b6aaface734ee9270801b345df68405406f666844b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

1 release file

0.0.3

3 release files

0.0.2

3 release files

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page