cryptography 0.2.4 cryptography: ^0.2.4 copied to clipboard
Cryptography for applications. Key exchange (X25519, ECDH-P256, etc.), encryption (AES, Chacha20), and cryptographic hash functions (Blake2s, SHA2). Web Crypto API support.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cryptography
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
cryptography: ^0.2.4
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cryptography/cryptography.dart';