ds_blake2b 1.0.0
ds_blake2b: ^1.0.0 copied to clipboard
A dart implement of blake2b referenced from blacknet, allows 224
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ds_blake2b
With Flutter:
$ flutter pub add ds_blake2b
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ds_blake2b: ^1.0.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ds_blake2b/blake2b.dart';
import 'package:ds_blake2b/blake2b_hash.dart';
import 'package:ds_blake2b/byte_utils.dart';
import 'package:ds_blake2b/const.dart';
import 'package:ds_blake2b/ushr.dart';
import 'package:ds_blake2b/utils.dart';