encrypt method

Future encrypt(
  1. dynamic algorithm,
  2. CryptoKey key,
  3. dynamic data
)

Implementation

Future<dynamic> encrypt(dynamic algorithm, CryptoKey key, dynamic data) =>
    js_util.promiseToFuture(
        js_util.callMethod(this, 'encrypt', [algorithm, key, data]));