{"id":16359762,"url":"https://github.com/jmsv/jameshash","last_synced_at":"2026-07-08T12:31:11.136Z","repository":{"id":95749733,"uuid":"131787576","full_name":"jmsv/jameshash","owner":"jmsv","description":"bad hashing thing","archived":false,"fork":false,"pushed_at":"2018-05-04T03:09:31.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T17:34:16.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/jmsv.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-05-02T02:29:14.000Z","updated_at":"2021-12-03T17:27:45.000Z","dependencies_parsed_at":"2023-05-21T21:15:26.469Z","dependency_job_id":null,"html_url":"https://github.com/jmsv/jameshash","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/jmsv%2Fjameshash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fjameshash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fjameshash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fjameshash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmsv","download_url":"https://codeload.github.com/jmsv/jameshash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239727035,"owners_count":19687096,"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-10-11T02:09:35.751Z","updated_at":"2025-10-27T07:02:13.255Z","avatar_url":"https://github.com/jmsv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jameshash\nbad hashing thing\n\n```\n\u003e\u003e\u003e import jameshash\n\u003e\u003e\u003e jameshash.hash_password(\"correct horse battery staple\", \"a username\")\n'b3552dbd11ed73decb87fd157da1a35d6b98e5a3350d03036799f1bdd747ab7f'\n```\n\nOriginally written as part of an operating systems and security module at university, given the task of writing a salted hash function.\n\n__Please don't assume this is secure__, using hashing functions that aren't considered 'tried and tested' is always a bad idea; and this one is particularly awful. (I accept no liability for cracked passwords bla bla bla)\n\nIf you ended up here and can tell me why this hashing function is awful, let me know in the [issues](https://github.com/jmsv/jameshash/issues). While I'm sure it's awful, I have no way of proving it, so an explanation would help me learn stuff.\n\n## Install\n\n- `git clone https://github.com/jmsv/jameshash.git`\n- `cd jameshash`\n- `python setup.py install` (or `make install`)\n\n## Use\n\n- `hash_password` takes the password and the username, and returns the resultant hex string hash\n- `check_password` takes the password, username and hash and returns `True` if the generated and expected hashes match\n\n## Test\n\n`python tests.py` (or `make test`)\n\n## Contributing\n\nAny suggestions / issues / pull requests are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmsv%2Fjameshash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmsv%2Fjameshash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmsv%2Fjameshash/lists"}