@Override
    public int getLength() {
      if (md5 != null) {
        return md5.getDigest().length;
      }
      return 0;
    }
Checksum implementation for PFile uses in testing
shims/common/src/main/java/org/apache/hadoop/fs/ProxyLocalFileSystem.java