{"id":13813003,"url":"https://github.com/meehow/go-django-hashers","last_synced_at":"2025-04-15T18:54:47.009Z","repository":{"id":57484419,"uuid":"115654315","full_name":"meehow/go-django-hashers","owner":"meehow","description":"Go implementation of password hashers used in Django","archived":false,"fork":false,"pushed_at":"2017-12-31T13:54:15.000Z","size":20,"stargazers_count":29,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T23:51:12.281Z","etag":null,"topics":["django","go","golang","hashing","password"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meehow.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}},"created_at":"2017-12-28T19:43:11.000Z","updated_at":"2024-02-06T09:26:58.000Z","dependencies_parsed_at":"2022-08-26T14:24:05.906Z","dependency_job_id":null,"html_url":"https://github.com/meehow/go-django-hashers","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/meehow%2Fgo-django-hashers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meehow%2Fgo-django-hashers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meehow%2Fgo-django-hashers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meehow%2Fgo-django-hashers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meehow","download_url":"https://codeload.github.com/meehow/go-django-hashers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249135763,"owners_count":21218365,"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":["django","go","golang","hashing","password"],"created_at":"2024-08-04T04:00:59.691Z","updated_at":"2025-04-15T18:54:46.983Z","avatar_url":"https://github.com/meehow.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"Go Django Hashers [![GoDoc](https://godoc.org/github.com/github.com/meehow/go-django-hashers?status.svg)](http://godoc.org/github.com/meehow/go-django-hashers) [![Go Report Card](https://goreportcard.com/badge/github.com/meehow/go-django-hashers)](https://goreportcard.com/report/github.com/meehow/go-django-hashers)\n=================\n\nGo implementation of password hashers used in Django\n\nImplemented hashers:\n- `pbkdf2_sha256`\n- `pbkdf2_sha1`\n- `sha1`\n- `md5`\n- `unsalted_sha1`\n- `unsalted_md5`\n\nUnsalted hashers are not allowed by `hashers.MakePassword` function. You can use them just with `hashers.CheckPassword`.\n\nHashers based on `bcrypt` are not implemented because `golang.org/x/crypto/bcrypt` is not yet compatible with Python's bcrypt. \n\nBy default `hashers.MakePassword` is using `pbkdf2_sha256` hasher.\nIf you really want to change it (i.e. when you want to have passwords compatible with Django 1.3 or older),\nyou can set `hashers.DefaultHasher` variable to one of supported hashers:\n\n```go\nhashers.DefaultHasher = \"sha1\"\n```\n\nInstallation\n------------\n\n```\ngo get -u github.com/meehow/go-django-hashers\n```\n\n\nUsage\n-----\n\nUsage is quite straightforward and simple.\n\nCheck example files:\n\n- [check_password](examples/check_password.go)\n- [make_password](examples/make_password.go)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeehow%2Fgo-django-hashers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeehow%2Fgo-django-hashers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeehow%2Fgo-django-hashers/lists"}