Data obfuscator package
Project description
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"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
obfuscator-1.1.5.zip
(105.2 kB
view details)
File details
Details for the file obfuscator-1.1.5.zip
.
File metadata
- Download URL: obfuscator-1.1.5.zip
- Upload date:
- Size: 105.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c332f8c329b46c295e15761830d1a4e6f46fdfe23ad154746fc117275827dac4 |
|
MD5 | 2186d41f38b8bc18bb89c887e8bb74d3 |
|
BLAKE2b-256 | 969efa352aa7ef8bf4ee5ea941a69d1834277177734a550b3812100c93ae1f10 |