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 Provenance Actions
xorCryptPy-1.0.3.tar.gz 2.5 kB Without provenance Details for xorCryptPy-1.0.3.tar.gz

Built distribution (wheel)

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

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

Security for xorCryptPy 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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