python-pbkdf2
python-pbkdf2 copied to clipboard
Use faster all-at-once xor on Python 3.2+.
On Python 3.2+, byte sequences can be reduced to integers and XORed at once rather than byte-by-byte. This has significant speed-ups in my x86_64 testing.
Approach is demonstrated and benchmarked in https://stackoverflow.com/a/29409299/1843865