This is a pure Dart library for elliptic curve research and practical application.
There are two ways to build this project
The recommended way to clone is:
git clone https://github.com/pbad-pades/SignDart.git
To use this project as dart package, it is necessary to add this repository as dependecy of pubspec.yaml
using the cli branch, like:
dependencies:
sign_dart: ^1.0.0
After, run
$ dart pub get
At code, import the package with import 'package:signdart/signdart.dart';
After that it is possible to use the library normally.
You will find a set of examples.
This example create a public and private key, sign and verify a message using the Ed448 algorithm. OBS: Do not use the given private key for any other purpose.
Usage:
At example directory
dart ed521_example.dart
This example create a public and private key, sign and verify a message using the Ed521 algorithm. OBS: Do not use the given private key for any other purpose.
Usage:
At example directory
dart ed521_example.dart