Search packages, repositories and app categories

GitHub repositoryKirsApps/base_codecs

base_codecs

A set of base16 (hex), base32 (Rfc, RfcHex, Crockford, ZBase, GeoHash, WordSafe), Base58 (Bitcoin, Flickr, Ripple) with Base58Check, base85 (Ascii85, Z85, IPv6) codecs

base_codecs project cover
Stars
4
Forks
0
Last push (UTC)
Oct 12, 2021
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

codecov Build Status pub style: lint

A set of codecs for encode and decode data.

Features

Base16

Supported hex alphabet and custom alphabets.

Hex
  • Codec - Base16Codec
  • codec variable - base16 (and alias hex)
  • Functions - base16Encode (hexEncode), base16Decode (hexDecode)
Custom
  • Codec - Base16CodecCustom
  • Description - You can pass custom alphabet to Codec for encode and decode data by this alphabet.

Base32

Supported Rfc, RfcHex, Crockford, ZBase, GeoHash, WordSafe, Custom alphabets

Rfc
  • Codec - Base32CodecRfc
  • codec variable - base32Rfc
  • Functions - base32RfcEncode, base32RfcDecode
RfcHex
  • Codec - Base32CodecRfcHex
  • codec variable - base32RfcHex
  • Functions - base32RfcHexEncode, base32RfcHexDecode
Crockford
  • Codec - Base32CodecCrockford
  • codec variable - base32Crockford
  • Functions - base32CrockfordEncode, base32CrockfordDecode
ZBase
  • Codec - Base32CodecZBase
  • codec variable - base32ZBase
  • Functions - base32ZBaseEncode, base32ZBaseDecode
GeoHash
  • Codec - Base32CodecGeoHash
  • codec variable - base32GeoHash
  • Functions - base32GeoHashEncode, base32GeoHashDecode
WordSafe
  • Codec - Base32CodecWordSafe
  • codec variable - base32WordSafe
  • Functions - base32WordSafeEncode, base32WordSafeDecode
Custom
  • Codec - Base32CodecCustom
  • Description - You can pass custom alphabet and padding to Codec for encode and decode data by this alphabet.

Base58

Supported Bitcoin, Flickr, Ripple, Custom alphabets

Bitcoin
  • Codec - Base58CodecBitcoin
  • codec variable - base58Bitcoin
  • Functions - base58BitcoinEncode, base58BitcoinDecode
Flickr
  • Codec - Base58CodecFlickr
  • codec variable - base58Flickr
  • Functions - base58FlickrEncode, base58FlickrDecode
Ripple
  • Codec - Base58CodecRipple
  • codec variable - base58Ripple
  • Functions - base58RippleEncode, base58RippleDecode
Custom
  • Codec - Base58CodecCustom
  • Description - You can pass custom alphabet and decodeList to Codec for encode and decode data by this alphabet.
Base58Check
  • Functions - base58CheckEncode, base58CheckDecode

Base85

Supported Ascii85, ZeroMq, IPv6

Ascii85
  • Codec - Base85CodecAscii
  • codec variable - base85Ascii
  • Functions - base85AsciiEncode, base85AsciiDecode
ZeroMq
  • Codec - Base85CodecZ
  • codec variable - base85Z
  • Functions - base85ZEncode, base85ZDecode
IPv6
  • Codec - Base85CodecIPv6
  • codec variable - base85IPv6
  • Functions - base85IPv6Encode, base85IPv6Decode
KirsApps GitHub avatar
GitHub author

KirsApps ↗

LanguagesDart

Categories

Packages published by this repository

Dependencies used

Dependency list 3 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗