我有一个方法,它接受一个字符串作为参数,并将字符串的MD5值作为字符串返回。然而,当我使用这个方法时,我得到了"Th method md5() is undefined for type String“。我可能太累了,看不到我犯的一个错误,你能帮我吗?public static String md5(String s) { MessageDigest m = MessageDigest.getInstance("MD5");
该密码存储在数据库中的MD5中,所以我想先在MD5中转换密码,然后再检查密码。这是密码。Password; error:function(message) alert("Error: " + message);});
^^ //here it shows error. that md5 is not a function. $("#e