Fixed spacing in hexdump()

This commit is contained in:
icefire 2009-06-12 13:04:40 -07:00
parent 303e0c379e
commit 98658b969d

View File

@ -22,7 +22,7 @@ class Crypto:
else:
return AES.new(titlekey, AES.MODE_CBC, iv).decrypt(data)
def ValidateHash(self, data, hash):
"""Validates a hash. (BROKEN)"""
"""Validates a hash. Not checking currently because we have some...issues with hashes."""
return 1 #hack
# if(hashlib.sha1(data).hexdigest() == hexdump(hash, "")):
# return 1