Description
Currently the MD5Hash class uses a singleton instance of the MessageDigester. The access to this instance is synchronized, so MD5Hash has performance problems when used from several Threads. I propose to substitute the singleton instance by a TheadLocal instances cache. I will provide a patch.