BCrypt library for .net Core

I’m really excited about  .net Core. A fully cross-platform, managed environment that lets us use the brilliant .net ecosystem. Well, mostly.

Unfortunately, the downside of a complete rewrite is that a lot of existing libraries need to be ported to use it. One of the libraries I was keen to use with an upcoming ASP.net Core project is BCrypt.net – unfortunately, the maintainer of the project hasn’t made any updates to it in several years, so it seems unlikely that he’s going to release a .net port.

I decided that someone should port it. The source code was available, it’s using the BSD License so there’s no excuse really. Someone should get on that.

Then I decided that I’m someone.

Despite having never ported anything to .net core before, nor having released anything on Nuget, it only took me a couple of hours to figure out the details. If you’re interested, the Nuget package is here and the source code is available on github.

Many thanks to the original author for writing BCrypt.net in the first place.