Created
October 19, 2011 23:24
-
-
Save gabrtv/1299982 to your computer and use it in GitHub Desktop.
The GPU Instance Defense
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit f3ba9767192780a0dd5f575f52abae8661a2143d | |
Author: gabrtv <[email protected]> | |
Date: Wed Oct 19 17:01:28 2011 -0600 | |
switch to sha-512 password hashing (aka the GPU instance defense) | |
diff --git a/c2core/crypto.py b/c2core/crypto.py | |
index 98c8711..fc9ad56 100644 | |
--- a/c2core/crypto.py | |
+++ b/c2core/crypto.py | |
@@ -15,7 +15,7 @@ def salt_func(): | |
def hash_func(): | |
"""Return a new message digest object""" | |
- return hashlib.sha1() | |
+ return hashlib.sha512() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment