An open API service indexing awesome lists of open source software.

https://github.com/zamicol/baseconverter

Zamicol's Base Converter - Convert arbitrary bases with arbitrary alphabets.
https://github.com/zamicol/baseconverter

base-conversion base128 base16 base256 base58 base64 base65536 base85 base91 conversion converter coze decimal decimal-to-hexadecimal diceware diceware-password dnd-dice dozenal hex vigesimal

Last synced: about 2 months ago
JSON representation

Zamicol's Base Converter - Convert arbitrary bases with arbitrary alphabets.

Awesome Lists containing this project

README

        

https://convert.zamicol.com/

# BaseConverter
Zamicol's Base Converter

If your project needs to do base conversion, use [`base_convert.js`](base_convert.js).

BaseConverter is a generalized, number first converter. This converter treats
input and output as numbers and uses the iterative divide by radix conversion
method. This method is suitable for arbitrary bases, character sets, and
alphabet lengths.

Surprisingly, I couldn't find a converter online that met my needs, so I built
this. Other projects had limitations on alphabet characters, alphabet length,
input/output length, or were designed for specific encoding.

Padding can be applied according to bytes, nibbles, or any other bucket size.
This converter is alphabet agnostic for input and output and has no limitations
on alphabets starting with 0, special or repeating characters, or is unable to
be divided evenly.