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.
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
).