cipherlib 0.3.0
cipherlib: ^0.3.0 copied to clipboard
Pure-Dart cryptography package implementing symmetric ciphers (AES with multiple modes, ChaCha20, XChaCha20, Salsa20, XSalsa20, XOR) and their AEAD variants with Poly1305.
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.3.0Alternatively, 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';