cipher 0.2.0
cipher: ^0.2.0 copied to clipboard
A Dart library for encryption/decryption mainly based on Bouncy Castle Java library.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cipher
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
cipher: ^0.2.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:cipher/api.dart';
import 'package:cipher/digests/general_digest.dart';
import 'package:cipher/digests/ripemd160.dart';
import 'package:cipher/engines/aes_fast.dart';
import 'package:cipher/engines/salsa20.dart';
import 'package:cipher/modes/sic.dart';
import 'package:cipher/params/key_parameter.dart';
import 'package:cipher/params/parameters_with_iv.dart';