String –> MD5 String (in JSP)
I’m not a huge fan of JSP, but it scales better than PHP, so I guess it’s got its uses. Here is a script I wrote in JSP which takes a string and creates a new string which is the MD5 hash of the input string. It is pretty heavily commented, so you should be able to follow it reasonably easily. Don’t miss the import of java.security.MessageDigest which we use. Continue reading