digest method

Future digest(
  1. dynamic algorithm,
  2. dynamic data
)

Implementation

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