PDIO-385 Create a new MessageDigest object each time for thread-safety.