fast_base58 0.1.4 copy "fast_base58: ^0.1.4" to clipboard
fast_base58: ^0.1.4 copied to clipboard

outdated

Libary fast_base58 provides fast implementation of base58 encoding, and supports both flickr alphabet and Bitcoin addresses/IPFS hashes 's alphabet. Base58 is a group of binary-to-text encoding scheme [...]

Fast Implementation of Base58 encoding #

Base algorithm is copied from https://github.com/trezor/trezor-crypto/blob/master/base58.c

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:base58dart/base58.dart';

main() {
  var encodedStr = Base58Encode(Uint8List.fromList('bitcoin'.codeUnits)); // Uint8List(raw bytes) to base58 string
  print(encodedStr); // 4jJc4sAwPs

  var decodedRaw = Base58Decode('4jJc4sAwPs'); // base58 string to Uint8List(raw bytes)
  print(String.fromCharCodes(decodedRaw)); // bitcoin
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

7
likes
0
pub points
86%
popularity

Publisher

verified publisherc0mm4nd.com

Libary fast_base58 provides fast implementation of base58 encoding, and supports both flickr alphabet and Bitcoin addresses/IPFS hashes 's alphabet. Base58 is a group of binary-to-text encoding schemes used to represent large integers as alphanumeric text, introduced by Satoshi Nakamoto for use with Bitcoin.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on fast_base58