Skip to main content

XOR-Crypt-Python

PyPI Version Python Versions License: MIT

A simple XOR string encryption library based on the JavaScript library XOR-Crypt by RobLoach but in Python.

Installation

pip install xorCryptPy

You can also download the package manually from PyPI.

Usage

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

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

Metadata

Release files for xorCryptPy 1.0.3

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

Source distribution (sdist)

Source distribution for xorCryptPy 1.0.3
File Size Uploaded
xorCryptPy-1.0.3.tar.gz 2.5 kB Details

Built distribution (wheel)

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

Total release size: 5.6 kB

Release files / xorCryptPy-1.0.3.tar.gz

Download URL xorCryptPy-1.0.3.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9a1c10a7797d9d60b672d280c0dd04ffa60bd0a3b4b0ec0ff426e22389876fa0
BLAKE2b-256 checksum
How to use checksums
574942dbe40491f67f6f5c259213843ac59102f66050d714b31aa7ed814d700c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / xorCryptPy-1.0.3-py3-none-any.whl

Download URL xorCryptPy-1.0.3-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f3ec2c8401a53e01a8531c15c471798586297300afa600d4c9fbc83d1f9ba3d
BLAKE2b-256 checksum
How to use checksums
111caddd87b0d8ae27964c13bcb289b0d05b9a902d6e89c067a4c94d98dbee12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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