public static String convertMD5Value(String password) {
	String hashword = null;
	try {
		MessageDigest md5 = MessageDigest.getInstance("MD5");
		md5.update(password.getBytes());
		BigInteger hash = new BigInteger(1, md5.digest());
		hashword = hash.toString(16);
	} catch (NoSuchAlgorithmException nsae) {
		// ignore
	}
	return hashword;
}

yukarıdaki kod verdiğiniz bir stringi md5 e göre şifreleyerek size geri döndürür.

mikailoral is proudly powered by WordPress and the Theme Adventure by Eric Schwarz
Entries (RSS) and Comments (RSS).

mikailoral

Bir baÅŸka WordPress sitesi