{"id":19864153,"url":"https://github.com/sr-lab/entropy-calculator","last_synced_at":"2025-06-20T07:33:48.054Z","repository":{"id":75386281,"uuid":"130738465","full_name":"sr-lab/entropy-calculator","owner":"sr-lab","description":"Extensible batch password entropy calculator.","archived":false,"fork":false,"pushed_at":"2018-07-04T17:19:50.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-01T00:29:28.249Z","etag":null,"topics":["command-line","password-strength","shannon-entropy"],"latest_commit_sha":null,"homepage":null,"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/sr-lab.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-23T18:18:22.000Z","updated_at":"2024-11-04T16:41:57.000Z","dependencies_parsed_at":"2023-06-06T08:45:28.418Z","dependency_job_id":null,"html_url":"https://github.com/sr-lab/entropy-calculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sr-lab/entropy-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-lab%2Fentropy-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-lab%2Fentropy-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-lab%2Fentropy-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-lab%2Fentropy-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sr-lab","download_url":"https://codeload.github.com/sr-lab/entropy-calculator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-lab%2Fentropy-calculator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260901266,"owners_count":23079737,"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":["command-line","password-strength","shannon-entropy"],"created_at":"2024-11-12T15:17:38.610Z","updated_at":"2025-06-20T07:33:43.040Z","avatar_url":"https://github.com/sr-lab.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Entropy Calculator\nExtensible batch password entropy calculator.\n\n```\nUsage: EntropyCalculator \u003cinput_file\u003e [-c|-s|-l|-d|-u]\n-c: Per-character Shannon entropy mode\n-s: Shannon entropy mode\n-l: Length-only mode\n-d: Distinct-character mode\n-u: LUDS mode\n```\n\n## Overview\nThis utility will take a text files as input and calculate some score for each string contained in it, one per line. For example, given an input file like this:\n\n```\n123456\npassword\n12345678\nqwerty\n123456789\n12345\n1234\n111111\n1234567\ndragon\n...\n```\n\nWe'll get something like this:\n\n```\npassword, score\n123456, 15.5097750043269\npassword, 22\n12345678, 24\nqwerty, 15.5097750043269\n123456789, 28.5293250129808\n12345, 11.6096404744368\n1234, 8\n111111, 0\n1234567, 19.6514844544032\ndragon, 15.5097750043269\n...\n```\n\n## Scoring Modes\nThe program has a number of different scoring modes. Currently `-s` is the default:\n\n* -c: Per-character Shannon entropy mode\n* -s: Shannon entropy mode, equivalent to `-c` multiplied by the string length (`-l`).\n* -l: Given a string of length `n` returns `n`.\n* -d: Given a string containing `k` distinct characters (e.g. for `aabc123` then `k=6`) returns `k`.\n* -u: Given a string containing `j` LUDS character classes (lower, upper, digit, symbol) returns `j`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsr-lab%2Fentropy-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsr-lab%2Fentropy-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsr-lab%2Fentropy-calculator/lists"}