encrypt method

  1. @MPI(name: "mesh.crypt.encrypt")
Future<Uint8List?> encrypt(
  1. Uint8List buf,
  2. Map<String, Uint8List> keys, {
  3. Context? ctx,
})

Encrypt binary to encrypted binary.

Implementation

@MPI(name: "mesh.crypt.encrypt")
Future<Uint8List?> encrypt(Uint8List buf, Map<String, Uint8List> keys, {Context? ctx}) {
  throw UnimplementedError('encrypt() has not been implemented.');
}