Thread safe PBKDF2 with random, unique salts and constant-time comparison
C CMake Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
examples
.gitignore
CMakeLists.txt
Makefile
README.md
base64.c
base64.h
openssl_lck.c
openssl_lck.h
pbkdf2.c
pbkdf2.h

README.md

pbkdf2-sha256-salt

Thread safe PBKDF2 with random, unique salts and constant-time comparison. Based on JP Mens' C implementation which is itself inspired by Simon Sapin's scheme.

Credits

My contributions to this project are limited to identifying a bug concerning thread-safety in JP Mens' code and providing a header & sample with openssl locking for thread safe usage; so all credit to JP Mens, Simon Sapin & Kungliga Tekniska Hgskolan (author of base64.c/h).