cipherlib 0.7.2
cipherlib: ^0.7.2 copied to clipboard
Pure-Dart symmetric ciphers (AES modes, ChaCha20, XChaCha20, Salsa20, XSalsa20), their Poly1305 AEAD variants, and ML-KEM post-quantum key encapsulation (FIPS 203).
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cipherlibWith Flutter:
$ flutter pub add cipherlibThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
cipherlib: ^0.7.2Alternatively, 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:cipherlib/cipherlib.dart';