Skip to content

A pure C# implementation of bcrypt_pbkdf, used to derive passwords for OpenSSH keys.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Devolutions/BCryptPbkdf.Net

BCryptPbkdf.Net

A pure C# implementation of bcrypt_pbkdf, used to derive passwords for OpenSSH keys.

How to use

byte[] password = Encoding.UTF8.GetBytes("password");
byte[] salt = [1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8]; // Use a random salt
int rounds = 64;

byte[] key = BCryptPbkdf.Hash(password, salt, rounds, 32);

About

A pure C# implementation of bcrypt_pbkdf, used to derive passwords for OpenSSH keys.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages