Skip to content

A cryptography library for simply data encoding and decoding using VIZ blockchain's ECC cryptography algorithms.

License

Notifications You must be signed in to change notification settings

VizTower/viz_dart_ecc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elliptic curve cryptography (ECC) in Dart Pub

Build Status

[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

About

A cryptography library for simply data encoding and decoding using VIZ blockchain's ECC cryptography algorithms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages