docs: public static byte[] getHash( String digestName,
                                    byte[] content ) throws NoSuchAlgorithmException {
          MessageDigest digest = MessageDigest.getInstance(digestName);
          assert digest != null;
          return digest.digest(content);
      }