pinenacl 0.5.1 pinenacl: ^0.5.1 copied to clipboard
The Dart implementation of the PyNaCl APIs with the TweetNaCl cryptographic library
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pinenacl
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
pinenacl: ^0.5.1
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:pinenacl/api.dart';
import 'package:pinenacl/api/api.dart';
import 'package:pinenacl/api/authenticated_encryption.dart';
import 'package:pinenacl/api/encoding.dart';
import 'package:pinenacl/api/signatures.dart';
import 'package:pinenacl/digests.dart';
import 'package:pinenacl/ed25519.dart';
import 'package:pinenacl/encoding.dart';
import 'package:pinenacl/key_derivation.dart';
import 'package:pinenacl/message_authentication.dart';
import 'package:pinenacl/tweetnacl.dart';
import 'package:pinenacl/x25519.dart';