hashHexString static method

Uint8List hashHexString(
  1. String hex
)

Implementation

static Uint8List hashHexString(String hex) {

  var bytes = HEX.decode(hex);
  return hash(bytes as Uint8List, 0, bytes.length);
}