This is a simple base64 encoder/decoder that gives you a headache. It's just a simple wrapper around the built-in base64 module.
Project description
obscure64
This is a simple base64 encoder/decoder that gives you a headache. It's just a simple wrapper around the built-in base64 module.
Usage
pip install obscure64
from obscure64 import Obscure64
ob64 = Obscure64()
result = ob64.encode("Hello World!".encode())
print(result)
print(ob64.decode(result))
And you can make it interesting.
from obscure64 import Obscure64
ob64 = Obscure64(
b64chars="๐๐๐๐๐ถ๐๐ฉ๐บ๐ฑ๐น๐ป๐ผ๐๐ฟ๐๐ฏ๐
๐ด๐๐ฎ๐๐๐๐ท๐๐๐ฝ๐๐๐ช๐๐ญ๐"
"๐น๐ฐ๐๐ป๐จ๐ผ๐พ๐๐๐ฃ๐ค๐ฅ๐ง๐ธ๐๐ข๐๐ฒ๐๐ณ๐๐ฌ๐ ๐ก๐๐๐๐๐๐๐๐ฆ"
)
result = ob64.encode("Hello World!".encode())
print(result.decode())
print(ob64.decode(result))
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
obscure64-0.1.0.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file obscure64-0.1.0.tar.gz
.
File metadata
- Download URL: obscure64-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.15.4 CPython/3.12.3 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd331bb06f4cbfc59505f2a70cf9b1d25bd13d4694b161b675b12341fdfdd7cc |
|
MD5 | d144f3d016c1766df45179e2ffdee533 |
|
BLAKE2b-256 | 836755fcd6126a3ff5a3da52566802b2911d231b149d595cc279e3d3cb785b62 |
File details
Details for the file obscure64-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: obscure64-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.15.4 CPython/3.12.3 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02d4bdf72c3872c2fc55f02a23902fd41442c43cf8205e57815f405a0fbf3e69 |
|
MD5 | 2ec4f75c8a4eac33d49e274eeba82444 |
|
BLAKE2b-256 | 46f00ab7fc138a3443472279ec64eb74225fdd4a646834b030a91bc22a33f234 |