fhel 0.0.4 fhel: ^0.0.4 copied to clipboard
Dart library for Fully Homomorphic Encryption
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fhel
With Flutter:
$ flutter pub add fhel
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
fhel: ^0.0.4
Alternatively, 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:fhel/afhe.dart';
import 'package:fhel/afhe/backend.dart';
import 'package:fhel/afhe/ciphertext.dart';
import 'package:fhel/afhe/codec.dart';
import 'package:fhel/afhe/crypto.dart';
import 'package:fhel/afhe/errors.dart';
import 'package:fhel/afhe/operation.dart';
import 'package:fhel/afhe/plaintext.dart';
import 'package:fhel/afhe/scheme.dart';
import 'package:fhel/afhe/serial.dart';
import 'package:fhel/ffi.dart';
import 'package:fhel/seal.dart';