pqforge 0.4.3
pqforge: ^0.4.3 copied to clipboard
Pure-Dart post-quantum and classical hybrid crypto for Dart, Flutter, and Serverpod: ML-KEM|ML-DSA|SLH-DSA + X25519|Ed25519|ECDSA-P256 + AEAD (AES-GCM-256/Chacha20-Poly1305) + HKDF envelopes, streamin [...]
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate pqforgeUse it
The package has the following executables:
$ pqforge
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pqforgeWith Flutter:
$ flutter pub add pqforgeThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pqforge: ^0.4.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pqforge/pqforge.dart';