Skip to main content

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))

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

obscure64-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

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

Hashes for obscure64-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cd331bb06f4cbfc59505f2a70cf9b1d25bd13d4694b161b675b12341fdfdd7cc
MD5 d144f3d016c1766df45179e2ffdee533
BLAKE2b-256 836755fcd6126a3ff5a3da52566802b2911d231b149d595cc279e3d3cb785b62

See more details on using hashes here.

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

Hashes for obscure64-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02d4bdf72c3872c2fc55f02a23902fd41442c43cf8205e57815f405a0fbf3e69
MD5 2ec4f75c8a4eac33d49e274eeba82444
BLAKE2b-256 46f00ab7fc138a3443472279ec64eb74225fdd4a646834b030a91bc22a33f234

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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