code: private String hash(String dataId)
     {
        try
        {
           MessageDigest digest = MessageDigest.getInstance(hashAlgorithm);
           digest.update(dataId.getBytes("UTF-8"));
           return new BigInteger(1, digest.digest()).toString(32);
        }
        catch (NumberFormatException e)
        {
           throw new RuntimeException("Could not generate the hash code of '" + dataId + "' with the algorithm '"
              + hashAlgorithm + "'", e);
        }
        catch (UnsupportedEncodingException e)
        {
           throw new RuntimeException("Could not generate the hash code of '" + dataId + "' with the algorithm '"
              + hashAlgorithm + "'", e);
        }
        catch (NoSuchAlgorithmException e)
        {
           throw new RuntimeException("Could not generate the hash code of '" + dataId + "' with the algorithm '"
              + hashAlgorithm + "'", e);
        }
     }
docs: Gives the hash code of the given data id
  @param dataId The id of the data to hash
  @return The hash code of the value of the given data id in base 32