Directly import sha_constructor from hashlib to avoid Django warning.