.net implementation of bcrypt

It sounds like you are looking for BCrypt.net: BCrypt.net is an implementation of OpenBSD’s Blowfish-based password hashing code, described in “A Future-Adaptable Password Scheme” by Niels Provos and David Mazières. It is a direct port of jBCrypt by Damien Miller, and is thus released under the same BSD-style license. The code is fully managed and … Read more

Can someone explain how BCrypt verifies a hash?

A BCrypt hash string looks like: $2a$10$Ro0CUfOqk6cXEKf3dyaM7OhSCvnwM9s4wIX9JeLapehKK5YdLxKcm \__/\/ \____________________/\_____________________________/ | | Salt Hash | Cost Version Where 2a: Algorithm Identifier (BCrypt, UTF8 encoded password, null terminated) 10: Cost Factor (210 = 1,024 rounds) Ro0CUfOqk6cXEKf3dyaM7O: OpenBSD-Base64 encoded salt (22 characters, 16 bytes) hSCvnwM9s4wIX9JeLapehKK5YdLxKcm: OpenBSD-Base64 encoded hash (31 characters, 24 bytes) Edit: i just noticed these words … Read more