optimizations. Switch to PyCrypto support in pbkdf2 when possible.

Optimizations. Handle with care!