viz_dart_ecc 1.0.1+1 copy "viz_dart_ecc: ^1.0.1+1" to clipboard
viz_dart_ecc: ^1.0.1+1 copied to clipboard

Elliptic curve cryptography lib for VIZ based blockchain in Dart lang.

example/example.dart

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());
}
0
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Elliptic curve cryptography lib for VIZ based blockchain in Dart lang.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

base58check, convert, crypto, pointycastle

More

Packages that depend on viz_dart_ecc