dart_sodium 2.0.0 copy "dart_sodium: ^2.0.0" to clipboard
dart_sodium: ^2.0.0 copied to clipboard

discontinued

Wrapper library for the libsodium cryptography library. Contains functions for password hashing, random numbers, encryption, message authentication etc.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_sodium

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_sodium: ^2.0.0

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:dart_sodium/auth.dart';
import 'package:dart_sodium/box.dart';
import 'package:dart_sodium/generic_hash.dart';
import 'package:dart_sodium/helpers.dart';
import 'package:dart_sodium/password_hash.dart';
import 'package:dart_sodium/random_bytes.dart';
import 'package:dart_sodium/secret_box.dart';
import 'package:dart_sodium/secret_stream.dart';
import 'package:dart_sodium/sign.dart';
import 'package:dart_sodium/sodium.dart';
2
likes
35
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

Wrapper library for the libsodium cryptography library. Contains functions for password hashing, random numbers, encryption, message authentication etc.

Repository (GitLab)

License

MIT (license)

Dependencies

ffi, ffi_helper, meta

More

Packages that depend on dart_sodium