Returns an instance of MessageDigest
Returns an instance of MessageDigest
Note that this is a method on purpose: getInstance returns a new instance of the algorithm requested. This is recommended because the object returned is mutable but is not thread safe, so we would need to synchronise method calls (e.g. digest) ourselves if we want to use the same instance with multiple threads.
Name of the algorithm
Name of the algorithm
MD5 returns 32 character long hexadecimal hash strings