openssl 1.0.1
openssl: ^1.0.1 copied to clipboard
OpenSSL library for Dart, exposes full C API to Dart via FFI. Native-assets build that compiles OpenSSL from source.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add opensslWith Flutter:
$ flutter pub add opensslThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
openssl: ^1.0.1Alternatively, 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:openssl/openssl.dart';