pbkdf2 implemented ctypes wrapper around OpenSSL native implementation: 6x speedup

This commit is contained in:
Michele Comitini
2013-07-27 16:34:09 +02:00
parent 18bed27bae
commit c4c331d645
2 changed files with 90 additions and 1 deletions
+4 -1
View File
@@ -44,7 +44,10 @@ except ImportError:
import hmac
try:
from contrib.pbkdf2 import pbkdf2_hex
try:
from contrib.pbkdf2_ctypes import pbkdf2_hex
except ImportError:
from contrib.pbkdf2 import pbkdf2_hex
HAVE_PBKDF2 = True
except ImportError:
try: