public static byte[] getEncrypted(String passwd) {
try {
MessageDigest md = MessageDigest.getInstance("MD5");
byte[] pwd = passwd.getBytes();
md.update(pwd);
byte[] mdpwd = md.digest();
return mdpwd;
}
catch (NoSuchAlgorithmException e) {
e.printStackTrace();
}
return null;
}
Great tip in case you want to encrypt the data. It's about using the proper code.
ReplyDeleteI just wanted to ask if you know the encrypt data for video, that once you close it. It will open by another tab? We are planning to do a prank to my friend. Thanks.
ReplyDeleteThis is really an excellent blog as well as its content.
ReplyDeletehub vendor interface