computeBytes method

Future<Uint8List> computeBytes (Uint8List bytes, String sigSchemaLabel)

Implementation

static Future<Uint8List> computeBytes(
    Uint8List bytes, String sigSchemaLabel) async {
  var res = await invokeCrypto('hash.compute', [bytes, sigSchemaLabel]);
  return res as Uint8List;
}