Skip to main content

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


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

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.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page