viz_dart_ecc 1.0.1+1 viz_dart_ecc: ^1.0.1+1 copied to clipboard
Elliptic curve cryptography lib for VIZ based blockchain in Dart lang.
Elliptic curve cryptography (ECC) in Dart #
[DOC | issue tracker]
viz_dart_ecc is cryptography library for simply data encoding and decoding using VIZ blockchain's ECC cryptography algorithms.
Code for viz_dart_ecc was forked from eosdart_ecc but most of it was rewritten for VIZ blockchain.
Usage #
A simple usage example:
import 'package:viz_dart_ecc/viz_dart_ecc.dart';
void main() {
VIZPrivateKey privateKey = VIZPrivateKey.fromString(
'5J2XSYiA62K5s9vLsXXpj9CdoGmWUnohEWnVmg8aJb8D2TYvpbW');
VIZPublicKey publicKey = privateKey.toPublicKey();
VIZSignature signature = privateKey.signString('data');
print('Pub key: ' + publicKey.toString());
print('Signatured data: ' + signature.toString());
}
Features and bugs #
Please file feature requests and bugs at the issue tracker