Returns a java.lang.ThreadLocal instance of MessageDigest that implements the hashing algorithm specified by the "name" string.
Returns a java.lang.ThreadLocal instance of MessageDigest that implements the hashing algorithm specified by the "name" string.
Since it is an unshared java.lang.ThreadLocal instance, calling various methods on the java.security.MessageDigest returned by this method is "thread-safe".
Name of the algorithm
Name of the algorithm
SHA1 returns 40 character long hexadecimal hash strings