Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/c0mm4nd/dart_fast_base58
Fast Implementation of Base58 encoding
https://github.com/c0mm4nd/dart_fast_base58
base58 bitcoin dart
Last synced: about 1 month ago
JSON representation
Fast Implementation of Base58 encoding
- Host: GitHub
- URL: https://github.com/c0mm4nd/dart_fast_base58
- Owner: c0mm4nd
- License: mit
- Created: 2020-04-10T12:34:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-19T12:41:00.000Z (over 3 years ago)
- Last Synced: 2024-11-29T17:49:45.028Z (about 1 month ago)
- Topics: base58, bitcoin, dart
- Language: Dart
- Size: 17.6 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Fast Implementation of Base58 encoding
Base algorithm is copied from https://github.com/trezor/trezor-crypto/blob/master/base58.c
And updating optimization from https://github.com/mr-tron/base58
## Usage
A simple usage example:
```dart
import 'dart:convert'; // for utf8
import 'package:fast_base58/fast_base58.dart';main() {
var encodedStr = Base58Encode(utf8.encode('bitcoin'.codeUnits)); // Uint8List(raw bytes) to base58 string
print(encodedStr); // 4jJc4sAwPsvar decodedRaw = Base58Decode('4jJc4sAwPs'); // base58 string to Uint8List(raw bytes)
print(utf8.decode(decodedRaw)); // bitcoin
}
```## Features and bugs
Please file feature requests and bugs at the [issue tracker][tracker].
[tracker]: http://github.com/maoxs2/dart_fast_base58