https://github.com/pbad-pades/signdart
Pure Dart library for elliptic curve research and practical application. EdDSA, Ed448, Ed521.
https://github.com/pbad-pades/signdart
cryptography dart ed448 ed521 eddsa signatures
Last synced: 4 months ago
JSON representation
Pure Dart library for elliptic curve research and practical application. EdDSA, Ed448, Ed521.
- Host: GitHub
- URL: https://github.com/pbad-pades/signdart
- Owner: pbad-pades
- License: bsd-3-clause
- Created: 2021-08-08T22:58:35.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-26T17:07:40.000Z (over 4 years ago)
- Last Synced: 2025-10-23T07:23:59.852Z (8 months ago)
- Topics: cryptography, dart, ed448, ed521, eddsa, signatures
- Language: Dart
- Homepage:
- Size: 227 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# signdart
This is a pure Dart library for elliptic curve research and practical application.
## Building
There are two ways to build this project
### As local project
The recommended way to clone is:
```
git clone https://github.com/pbad-pades/SignDart.git
```
### As dart package
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.
## examples/
You will find a set of examples.
### example/ed448_example.dart
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
```
### example/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
```