encrypt method

  1. @override
Future<Uint8List?> encrypt(
  1. Uint8List buf,
  2. Map<String, Uint8List> keys, {
  3. Context? ctx,
})
override

Encrypt binary to encrypted binary.

Implementation

@override
Future<Uint8List?> encrypt(
  Uint8List buf,
  Map<String, Uint8List> keys, {
  Context? ctx,
}) async {
  return await _h.invoke(this, _methods['encrypt']!, [buf, keys], ctx);
}