Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Core
  3. BCrypt.NET-Core

BCrypt.NET-Core

BSD-3-ClauseC#

A .NET Core port of BCrypt.net for secure password hashing with enhanced features and compatibility.

GitHubGitHub
221 stars27 forks0 contributors

What is BCrypt.NET-Core?

BCrypt.Net-Core is a .NET Core port of the BCrypt.net library that provides secure password hashing using the bcrypt algorithm. It solves the problem of securely storing and verifying passwords in .NET applications with enhanced features and cross-platform compatibility. The library is designed as a drop-in replacement for the original BCrypt.net, making migration straightforward.

Target Audience

.NET developers building applications that require secure password storage and verification, especially those migrating from .NET Framework to .NET Core or working in cross-platform environments.

Value Proposition

Developers choose BCrypt.Net-Core for its seamless compatibility with existing BCrypt.net codebases, enhanced security features, and support for both .NET Framework and .NET Core. Its drop-in replacement design and legacy salt revision support make it ideal for modernizing applications without breaking changes.

Overview

A .net Core port of BCrypt.net

Use Cases

Best For

  • Securely hashing passwords in .NET Core applications
  • Migrating from BCrypt.net to .NET Core without code changes
  • Building cross-platform .NET applications with password authentication
  • Handling legacy password hashes with specific salt revisions
  • Implementing bcrypt-based password storage in C# projects
  • Ensuring password security in .NET Framework and .NET Core environments

Not Ideal For

  • Projects targeting the latest .NET versions (e.g., .NET 6/7/8) that prefer built-in or more modern password hashing solutions
  • Applications requiring alternative hashing algorithms like Argon2 or PBKDF2 for specific security requirements
  • Teams needing extensive documentation, community support, or active feature development beyond basic bcrypt functionality

Pros & Cons

Pros

Secure Bcrypt Implementation

Implements the bcrypt algorithm for robust password hashing, ensuring secure storage as per industry best practices, with enhancements over the original port.

Easy Migration Path

Serves as a drop-in replacement with unchanged namespaces, allowing seamless upgrade from BCrypt.net without code changes, as stated in the README.

Legacy System Support

Includes salt revision options like Revision2A, enabling compatibility with older bcrypt implementations in legacy systems, as shown in the usage examples.

Cross-Platform Compatibility

Works with both .NET Framework and .NET Core (Netstandard 1.3), making it suitable for diverse .NET environments, per the project description.

Cons

Outdated .NET Target

Targets Netstandard 1.3, which may not leverage improvements in newer .NET versions and could limit optimization opportunities for modern applications.

Limited Maintainer Involvement

The README disclaimer indicates it's a port by a different author, suggesting potential lack of active development or support for future updates.

Sparse Advanced Documentation

Provides only basic usage examples, missing guidance on edge cases, performance tuning, or integration with modern .NET features like async support.

Frequently Asked Questions

Quick Stats

Stars221
Forks27
Contributors0
Open Issues0
Last commit6 years ago
CreatedSince 2016

Tags

#legacy-support#authentication#csharp#bcrypt#netstandard#password-hashing#security#dotnet-core

Built With

.
.NET Core

Included in

Core21.2k
Auto-fetched 6 hours ago

Related Projects

BCrypt.NetBCrypt.Net

BCrypt.Net - Bringing updates to the original bcrypt package

Stars993
Forks115
Last commit15 days ago
nsecnsec

A modern and easy-to-use cryptographic library for .NET based on libsodium

Stars449
Forks52
Last commit2 months ago
BouncyCastle PCLBouncyCastle PCL

This version is deprecated. Please use my other repo for the latest https://github.com/onovotny/bc-csharp

Stars91
Forks21
Last commit9 years ago
multiformatsmultiformats

Multihash implementation in C#

Stars48
Forks13
Last commit3 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub