Skip to content

๐Ÿ” Base114514 encoding, the algorithm from Shimokitazawa

License

Notifications You must be signed in to change notification settings

chiyuki0325/base114514

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Base114514

๐Ÿ” The algorithm from Shimokitazawa.

Base114514 encoding is based on Base64, but replaces each of the 64 characters with a combination of 1, 4, and 5 digits.

Plain text Base64 encoded Base114514 encoded
1919810 MTkxOTgxMA== 554145511114141151544551145414115541114541144114

Usage

โžก CLI

base114514 cli works like base64 command from GNU coreutils.

printf 'ใ„ใ„ใ‚ˆใ€ๆฅใ„ใ‚ˆ' | base114514  # Encode base114514 from stdin
base114514 '้‡Ž็ธๅ…ˆ่ผฉ.png'  # Encode a file to base114514
base114514 --help  # To view help message
๐Ÿ Python

base114514 also works as a Python package like base64 in Python standard library.
You can install it from PyPI.

import base114514

base114514.b114514encode('ใ„ใ„ใ‚ˆใ€ๆฅใ„ใ‚ˆ'.encode())
base114514.b114514decode('554145511114141151544551145414115541114541144114')

๐Ÿ›ˆ Tips:

Base114514 is inspired by memes derived from ็œŸๅคใฎๅคœใฎๆทซๅคข, which should not be abused everywhere and may be offensive. Don't be a homo kid, start with me.