Created
June 25, 2021 08:11
-
-
Save confiks/8fcb480d87a50cf1bb5e40e2f0930fad to your computer and use it in GitHub Desktop.
base45-with-base58.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -O base58.py https://raw.githubusercontent.com/keis/base58/master/base58/__init__.py | |
sed "s~123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ \$%*+-./:~" base58.py > base45.py | |
python3 -c 'import base45; print(base45.b58encode("hello world"))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment