Update to hashlib per deprecation.