code: private byte[] getChecksum(byte[] bytes) throws NoSuchProviderException, NoSuchAlgorithmException {
          byte[] d = cryptography().sha512(bytes);
          return new byte[]{d[0], d[1], d[2], d[3]};
      }
docs: First 4 bytes of sha512(payload)