{"id":13430285,"url":"https://github.com/neoKushan/BCrypt.Net-Core","last_synced_at":"2025-03-16T05:30:41.366Z","repository":{"id":50643207,"uuid":"50729281","full_name":"neoKushan/BCrypt.Net-Core","owner":"neoKushan","description":"A .net Core port of BCrypt.net","archived":false,"fork":false,"pushed_at":"2020-07-11T20:00:48.000Z","size":66,"stargazers_count":219,"open_issues_count":0,"forks_count":29,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-03T05:36:04.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neoKushan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-30T14:59:13.000Z","updated_at":"2025-01-30T12:01:22.000Z","dependencies_parsed_at":"2022-08-19T06:02:05.078Z","dependency_job_id":null,"html_url":"https://github.com/neoKushan/BCrypt.Net-Core","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoKushan%2FBCrypt.Net-Core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoKushan%2FBCrypt.Net-Core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoKushan%2FBCrypt.Net-Core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoKushan%2FBCrypt.Net-Core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neoKushan","download_url":"https://codeload.github.com/neoKushan/BCrypt.Net-Core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830912,"owners_count":20354848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T02:00:51.836Z","updated_at":"2025-03-16T05:30:41.095Z","avatar_url":"https://github.com/neoKushan.png","language":"C#","funding_links":[],"categories":["Frameworks, Libraries and Tools","others","框架, 库和工具","Cryptography"],"sub_categories":["Cryptography","密码"],"readme":"# BCrypt.Net-Core\nA .net Core port of BCrypt.net, with some feature and security enhancements.\n\nCompatible with both the full .net framework and .net core (Netstandard 1.3).\n\nIt should be a drop-in replacement for BCrypt.net as the namespaces are unchanged.\n\n[![kushan MyGet Build Status](https://www.myget.org/BuildSource/Badge/kushan?identifier=ebbdc384-57ab-4131-ac19-599d355302ce)](https://www.myget.org/)\n\n# How to use\n\nStandard use:\n\n```C#\n// hash and save a password\nhashedPassword = BCrypt.Net.BCrypt.HashPassword(clearTextPassword);\n\n// check a password\nbool validPassword = BCrypt.Net.BCrypt.Verify(userSubmittedPassword, hashedPassword);\n```\n\nIf you need to specify a different salt revision when generating hashes, you can pass in a SaltRevision parameter:\n\n```C#\n// hash and save a password\nhashedPassword = BCrypt.Net.BCrypt.HashPassword(clearTextPassword, SaltRevision.Revision2A);\n```\n\nThis is only recommended if you're dealing with legacy systems, otherwise you should use the default of 2b. Note that the salt algorithm does not change, it will generate a correct bcrypt hash in all known cases.\n\n# Disclaimer\nI did not write this library, I merely ported it to .net core. All credit goes to Ryan D. Emerle for porting BCrypt to .net in the first place.\n\n# Original Project\nThe original project can be found at Codeplex: https://bcrypt.codeplex.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FneoKushan%2FBCrypt.Net-Core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FneoKushan%2FBCrypt.Net-Core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FneoKushan%2FBCrypt.Net-Core/lists"}