Just to avoid any confusion, the bcrypt.dll provided by Windows is unfortunately named. It exposes the CNG (Cryptography Next Generation) API and supports algorithms such as AES, SHA-1/2, RSA, ECDSA, PBKDF2, etc., but it does not implement the OpenBSD bcrypt password hashing algorithm ($2a$, $2b$, $2y$ hashes) been discussed in this thread.