{"id":22886389,"url":"https://github.com/tallesl/net-Hash","last_synced_at":"2025-08-11T21:31:50.751Z","repository":{"id":29346830,"uuid":"32880964","full_name":"tallesl/net-Hash","owner":"tallesl","description":"A password hasher.","archived":false,"fork":false,"pushed_at":"2018-09-17T17:32:04.000Z","size":19,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-13T20:17:58.754Z","etag":null,"topics":["cryptography","csharp","dot-net","hash","nuget","password","pbkdf2","salt"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"luongvo209/Markdown-Tutorial","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tallesl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-25T17:45:29.000Z","updated_at":"2023-03-08T04:42:00.000Z","dependencies_parsed_at":"2022-09-05T20:51:50.168Z","dependency_job_id":null,"html_url":"https://github.com/tallesl/net-Hash","commit_stats":null,"previous_names":["tallesl/passwordhasher"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-Hash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-Hash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-Hash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-Hash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tallesl","download_url":"https://codeload.github.com/tallesl/net-Hash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229608894,"owners_count":18098089,"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":["cryptography","csharp","dot-net","hash","nuget","password","pbkdf2","salt"],"created_at":"2024-12-13T20:18:29.759Z","updated_at":"2024-12-13T20:18:30.795Z","avatar_url":"https://github.com/tallesl.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hash\r\n\r\n[![][build-img]][build]\r\n[![][nuget-img]][nuget]\r\n\r\nA password hasher that generates a unique [salt] for each hash and hashes using [PBKDF2].\r\n\r\n[build]:     https://ci.appveyor.com/project/TallesL/net-hash\r\n[build-img]: https://ci.appveyor.com/api/projects/status/github/tallesl/net-hash?svg=true\r\n[nuget]:     https://www.nuget.org/packages/Hash\r\n[nuget-img]: https://badge.fury.io/nu/Hash.svg\r\n[salt]:      http://en.wikipedia.org/wiki/Salt_%28cryptography%29\r\n[PBKDF2]:    http://en.wikipedia.org/wiki/PBKDF2\r\n\r\n## Usage\r\n\r\n```cs\r\nvar plainPassword = \"my cr4zy pa$$w0rd\";\r\n\r\n// gives a HashedPassword object\r\n// which has Hash and Salt properties ready to be stored somewhere\r\nvar hash = HashedPassword.New(plainPassword);\r\n\r\n// checking the plain text password against the hashed one\r\nif (hash.Check(plainPassword))\r\n{\r\n    // the given password matches the given hash\r\n}\r\nelse\r\n{\r\n    // wrong password\r\n}\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftallesl%2Fnet-Hash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftallesl%2Fnet-Hash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftallesl%2Fnet-Hash/lists"}