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

Simple base58 library to convert between ints and their base58 representation

Base58 library for dart #

This is a tiny dart library that provides functionality to encode and decode numbers to their base58 representation.

Usage #

import 'package:base58/base58.dart';

void main(){
  final base58 = new Base58Codec();
  
  final num = 8716238992;
  print("Number: ${num}");
  print("Base58: ${base58.encode(num)}");
  print("Base58 decoded: ${base58.decode(base58.encode(num))}");
}
0
likes
35
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

Simple base58 library to convert between ints and their base58 representation

Homepage

License

unknown (license)

More

Packages that depend on base58