python-pbkdf2 icon indicating copy to clipboard operation
python-pbkdf2 copied to clipboard

Use faster all-at-once xor on Python 3.2+.

Open JustinTArthur opened this issue 7 years ago • 0 comments

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

JustinTArthur avatar Apr 09 '18 08:04 JustinTArthur