computeHashFromString static method

String computeHashFromString(
  1. String extrinsic, [
  2. int digestSize = 32
])

Implementation

static String computeHashFromString(String extrinsic, [int digestSize = 32]) {
  return computeHash(decodeHex(extrinsic), digestSize);
}