{"id":21957622,"url":"https://github.com/bitbeans/knownpasswords-net","last_synced_at":"2025-04-23T16:20:45.226Z","repository":{"id":84742393,"uuid":"44117403","full_name":"bitbeans/knownpasswords-net","owner":"bitbeans","description":"knownpasswords.org C# bindings","archived":false,"fork":false,"pushed_at":"2015-12-31T06:02:54.000Z","size":15,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T08:45:52.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://knownpasswords.org","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitbeans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-12T15:45:45.000Z","updated_at":"2021-03-12T18:06:06.000Z","dependencies_parsed_at":"2023-03-16T16:25:26.804Z","dependency_job_id":null,"html_url":"https://github.com/bitbeans/knownpasswords-net","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbeans%2Fknownpasswords-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbeans%2Fknownpasswords-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbeans%2Fknownpasswords-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbeans%2Fknownpasswords-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitbeans","download_url":"https://codeload.github.com/bitbeans/knownpasswords-net/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250468277,"owners_count":21435454,"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-11-29T08:54:53.596Z","updated_at":"2025-04-23T16:20:45.199Z","avatar_url":"https://github.com/bitbeans.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# knownpasswords-net [![NuGet Version](https://img.shields.io/nuget/v/knownpasswords-net.svg?style=flat-square)](https://www.nuget.org/packages/knownpasswords-net/) [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat-square)](https://github.com/bitbeans/knownpasswords-net/blob/master/LICENSE.md)\n\nknownpasswords.org C# bindings\n\n## Requirements\n\nJust a knownpasswords.org API Key: [Get an API key](https://knownpasswords.org/)\n\n## Installation\n\nThere is a [NuGet package](https://www.nuget.org/packages/knownpasswords-net/) available.\n\n## Example\n\n```csharp\n\t\n\t// check 'monkey' as Blake2b hash\n\tconst string blake2b = \"931f2b3f873fd41e0481972a7faa4ec65723867197c52d7287cc0eb0cab8c439e4ba27b427ff5dc18ae268e39a8f488a9639714cdc680964d0bd7f0133e0af24\"; \n\t\n\tvar knownPasswords = new KnownPasswords(\"\u003cyour private API key\u003e\");\n\tvar response = knownPasswords.CheckPassword(blake2b, PasswordFormatType.Blake2b);\n\tif (response.FoundPassword)\n\t{\n\t\t//password is a public known password\n\t\t//prevent registration or warn the user\n\t}\n\telse\n\t{\n\t\t//password is not known by API\n\t\t//use a KDF, encrypt the password and store it\n\t}\n```\n\n## Note\n\nknownpasswords.org can validate the following password formats:\n\n- Blake2b (64 byte hash)\n- Sha512 (64 byte hash)\n- Cleartext password\n\nNever store passwords in these formats, always use a KDF (key derivation function)!\nlibsodium supports scrypt.\n\n- A response never contains the cleartext password.\n- The API is static and will not add requested passwords.\n- Requests and responses are always signed and encrypted.\n- The API is only reachable over https\n\n## License\n\n[MIT](https://en.wikipedia.org/wiki/MIT_License)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbeans%2Fknownpasswords-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitbeans%2Fknownpasswords-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbeans%2Fknownpasswords-net/lists"}