base_encoding 1.0.1 copy "base_encoding: ^1.0.1" to clipboard
base_encoding: ^1.0.1 copied to clipboard

outdated

base_encoding is a compact and standalone encoding library that provides at the moment support for encoding and decoding various bases such as Base16, Base32 (various variants), Base58 (various varian [...]

base_encoding License Build Status #

base_encoding is a compact and standalone encoding library that provides at the moment support for encoding and decoding various bases such as Base16, Base32 (various variants), Base58 (various variants) and Base64 (various variants).

Supported Encodings:

Base64: Default, DefaultNoPadding, UrlEncoding, XmlEncoding, RegExEncoding and FileEncoding alphabets 
(and any custom alphabet you might have)

Base58: Bitcoin, Ripple and Flickr alphabets (and any custom alphabet you might have)

Base32: RFC 4648, Crockford and Extended Hex (BASE32-HEX) alphabets with Crockford character substitution 
(or any other custom alphabets you might want to use)   

Base16: An experimental hexadecimal encoder/decoder.

Usage Examples.

import 'package:base_encoding/base_encoding.dart';


main() {
    final base32 = BaseEncoding.CreateBase32Crockford();

    String rawData = "foobar";

    var output = base32.Encode(rawData.codeUnits, false);

    print('Output: ${output}'); // Output: CSQPYRK1E8
}

License

This "Software" is Licensed Under MIT License (MIT) .

Tip Jar

  • 💵 Bitcoin: 1Mcci95WffSJnV6PsYG7KD1af1gDfUvLe6
0
likes
20
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

base_encoding is a compact and standalone encoding library that provides at the moment support for encoding and decoding various bases such as Base16, Base32 (various variants), Base58 (various variants) and Base64 (various variants).

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on base_encoding