Metadata-Version: 2.1
Name: xorCryptPy
Version: 1.0.2
Summary: Simple Python XOR string encryption library
Home-page: https://github.com/ivoilic/XOR-Crypt-Python
Author: Ivo Ilić
Author-email: admin@ivoilic.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# XOR-Crypt-Python

A simple XOR string encryption library based on the JavaScript library [XOR-Crypt](https://github.com/RobLoach/xor-crypt) by [RobLoach](https://github.com/RobLoach) but in Python.

## Usage

Works exactly like the JavaScript version. The same function encrypts and descripts a string using a given key.

```python
from xorCryptPy import xorCrypt

encrypted = xorCrypt('Hello World')
# Outputs: Ncjji&Qitjb

decrypted = xorCrypt(encrypted)
# Outputs: Hello World

# Use your own XOR Key.
encrypted = xorCrypt('Hello World', 9)
decrypted = xorCrypt(encrypted, 9)
```

_(The default key is the same as the one from the JavaScript version!)_

## License

Licensed under the [MIT license](https://opensource.org/licenses/MIT)


