docs: public static byte[] doubleDigest(byte[] input, int offset, int length) {
          synchronized (sha256digest) {
              sha256digest.reset();
              sha256digest.update(input, offset, length);
              byte[] first = sha256digest.digest();
              return sha256digest.digest(first);
          }
      }