seald_sdk_flutter 0.2.0-beta.0 copy "seald_sdk_flutter: ^0.2.0-beta.0" to clipboard
seald_sdk_flutter: ^0.2.0-beta.0 copied to clipboard

Seald SDK for Flutter: simple end-to-end encryption for your app

seald_sdk_flutter #

SealdSDK allows you to use the full power of Seald encryption, directly in your Flutter application.

You can create and retrieve Seald identities for your app's users, encrypt and decrypt files, create encryption sessions, add or revoke recipients...

For more information, visit our website : https://seald.io

Example:

import 'package:seald_sdk_flutter/seald_sdk.dart';

Future<void> main() async {
  final SealdSdk seald = SealdSdk(
    apiURL: apiURL,
    appId: appId,
  );

  // Creating a Seald identity
  final SealdAccountInfo info = await seald.createAccountAsync(jwt);

  // Encrypting / Decrypting data
  final EncryptionSession es = await seald.createEncryptionSessionAsync([info.userId]);
  final Uint8List encryptedFile = await es.encryptFileAsync(
    Uint8List.fromList(utf8.encode('Secret file content')),
    'SecretFile.txt',
  );
  final Uint8List decryptedFile = await es.decryptFileAsync(encryptedFile);
}

© 2023 Seald SAS

5
likes
0
pub points
67%
popularity

Publisher

verified publisherseald.io

Seald SDK for Flutter: simple end-to-end encryption for your app

Homepage

License

unknown (license)

Dependencies

ffi, flutter, plugin_platform_interface

More

Packages that depend on seald_sdk_flutter