Skip to main content

travis ci build state Coverage Status

Introduction

Obfuscator is a Python package used to obfuscate a set of data (e.g. bytes). It provides no encryption! It’s strictly a “security through obscurity” tool, with limited usefulness. You have been warned!

Documentation

Documentation is hosted on readthedocs: obfuscator.readthedocs.org

Install

Download the tarball and install with pip install <package>.

Usage

See the unit tests for more in-depth examples. Here are the basics:

import obfuscator
original_bytes = map(ord, "testing")
_key, obfuscated_bytes = obfuscator.obfuscate_xor(original_bytes, key=0x66)
deobfuscated_bytes = obfuscator.deobfuscate_xor(key=0x66, data=obfuscated_bytes)
assert original_bytes == deobfuscated_bytes

ofile = obfuscator.file.ObfuscatedFile("test.bin")
data = map(ord, "testing")
ofile.write(data, key=123, minimum_length=32)
self.assertEqual(32, os.path.getsize("test.bin"))

Metadata

Release files for obfuscator 1.1.5

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

Source distribution (sdist)

Source distribution for obfuscator 1.1.5
File Size Uploaded Provenance
obfuscator-1.1.5.zip 105.2 kB Without provenance Details

Release files / obfuscator-1.1.5.zip

Download URL obfuscator-1.1.5.zip
Size 105.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c332f8c329b46c295e15761830d1a4e6f46fdfe23ad154746fc117275827dac4
BLAKE2b-256 checksum
How to use checksums
969efa352aa7ef8bf4ee5ea941a69d1834277177734a550b3812100c93ae1f10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for obfuscator 1.1.5

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.

Release history Release notifications | RSS feed

This release

1.1.5 This release

1 release file No provenance

1.1.3

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