readCacheHash function

String readCacheHash(
  1. String subPath
)

Implementation

String readCacheHash(String subPath) {
  var value = readReedmaceCache(subPath);
  if (value == null) {
    return "";
  }
  var digest = Digest("SHA-256");
  var hash = digest.process(utf8.encode(value));
  return bin2hex(hash);
}