Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

base

A collection of various base encodings.

Overview

Basepaddingzero compressionlower case
2
8
10
16
32
58
64

Included Alternatives

  • Base2
    • Base2ZC: Supports Bitcoin style zero compression.
  • Base8
    • Base8ZC: Supports Bitcoin style zero compression.
  • Base16: Uppercase by default.
    • Base16Lower: Lowercase character set.
  • Base32: Uppercase by default. Padding by default.
    • Base32Lower: Lowercase character set.
    • Base32Hex: See en.wikipedia.org for further info.
    • Base32HexLower: Lowercase hex character set.
    • ZBase32: See en.wikipedia.org for further info.
  • Base58: Uses Bitcoin character set by default.
    • Base58Flickr: Uses Flickrs character set.
  • Base64: Padding by default.
    • Base64Url: Url safe.

Included Alphabets

enumabstractAlphabet {
publicvarBASE2='01';
publicvarBASE8='01234567';
publicvarBASE10='0123456789';
publicvarBASE16='0123456789ABCDEF';
publicvarBASE16_Lower='0123456789abcdef';
publicvarBASE32='ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';
publicvarBASE32_Lower='abcdefghijklmnopqrstuvwxyz234567';
publicvarBASE32_Hex='0123456789ABCDEFGHIJKLMNOPQRSTUV';
publicvarBASE32_Z='ybndrfg8ejkmcpqxot1uwisza345h769';
publicvarBASE58='123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';
publicvarBASE58_Flickr='123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ';
publicvarBASE64='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
publicvarBASE64_Url='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';
}

Notes

The class base.BaseX is ported from cryptocoinjs/base-x with the MIT license.

About

No description or website provided.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages