Metadata-Version: 2.1
Name: base-x-fast
Version: 0.2.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

#  base-x-fast

This is a python binding for the Rust fork of https://github.com/cryptocoinjs/base-x implemented in https://github.com/OrKoN/base-x-rs

WARNING: This module is NOT RFC3548 compliant, it cannot be used for base16 (hex), base32, or base64 encoding in a standards compliant manner.

# Usage

import base_x_fast

>>> base_x_fast.encode("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",[2,3,4,5])
'CAwQF'

>>> base_x_fast.decode("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/","CAwQF")
[2, 3, 4, 5]
