Code example for MessageDigest

Methods: digest

0
	public void appendSep() { 
		digest.update(new byte[] { ':' });
	} 
	 
	public String getHash() {
		byte[] hash=digest.digest();
		return Base64.encodeBase64URLSafeString(hash);
	} 
}