{"id":21387204,"url":"https://github.com/sshtools/humanhash","last_synced_at":"2025-03-16T12:20:37.300Z","repository":{"id":84133119,"uuid":"445557851","full_name":"sshtools/humanhash","owner":"sshtools","description":"Implements a Java version of the Github zacharyvoase/humanhash project.","archived":false,"fork":false,"pushed_at":"2022-01-07T15:29:35.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-23T00:13:33.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sshtools.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":"2022-01-07T14:59:02.000Z","updated_at":"2022-01-07T15:29:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"1261cdba-8b5f-4239-9cf7-2f5ce6cc1652","html_url":"https://github.com/sshtools/humanhash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshtools%2Fhumanhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshtools%2Fhumanhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshtools%2Fhumanhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshtools%2Fhumanhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshtools","download_url":"https://codeload.github.com/sshtools/humanhash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243865482,"owners_count":20360449,"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-22T12:12:09.858Z","updated_at":"2025-03-16T12:20:37.270Z","avatar_url":"https://github.com/sshtools.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# humanhash\nImplements a Java version of the Github [zacharyvoase/humanhash](\nhttps://github.com/zacharyvoase/humanhash) project.\n\n\n# Example\n\n```\nMessageDigest digest = MessageDigest.getInstance(\"MD5\");\ndigest.update(\"Some unique content you have\".getBytes(\"UTF-8\"));\nString humanString = new HumanHashGenerator(digest.digest()).build();\n```\n\nThis generates the output `twenty-island-east-sodium` consistently with each invocation of the generator.\n\n# Caveats\n\nDon't store the humanhash output, as its statistical uniqueness is only around 1 in 4.3 billion. Its intended use is as a human-readable (and, most importantly, memorable) representation of a longer digest, unique enough for display in a user interface, where a user may need to remember or verbally communicate the identity of a hash, without having to remember a 40-character hexadecimal sequence. Nevertheless, you should keep original digests around, then pass them through the generator only as you're displaying them.\n\n# How It Works\n\nThe procedure for generating a humanhash involves compressing the input to a fixed length (default: 4 bytes), then mapping each of these bytes to a word in a pre-defined wordlist (a default wordlist is supplied with the library). This algorithm is consistent, so the same input, given the same wordlist, will always give the same output. You can also use your own wordlist, and specify a different number of words for output.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshtools%2Fhumanhash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshtools%2Fhumanhash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshtools%2Fhumanhash/lists"}