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".
Sealed HashingAlgorithm trait to prevent users from shooting themselves in the foot at runtime by specifying a crappy/unsupported algorithm name
The name should be a valid MessageDigest algorithm name.Implementing child classes/objects should refer to this list for proper names:
http://docs.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html#MessageDigest