public static String getDigest(String source) {

		try {
			final MessageDigest instance = MessageDigest.getInstance("MD5");
			instance.update(source.getBytes());
			byte[] digest = instance.digest();
			final StringBuilder sb = new StringBuilder(digest.length * 2);
			for (final byte element : digest) {
				sb.append(Integer.toHexString(0xFF & element));
			}
			return sb.toString();
		} catch (final NoSuchAlgorithmException e) {
			throw new RuntimeException(e);
		}
	}