{"id":18582647,"url":"https://github.com/gehirninc/crypt","last_synced_at":"2025-04-13T07:50:50.018Z","repository":{"id":15009408,"uuid":"17734953","full_name":"GehirnInc/crypt","owner":"GehirnInc","description":"Pure Go crypt(3) Implementation","archived":false,"fork":false,"pushed_at":"2024-05-19T22:59:10.000Z","size":85,"stargazers_count":78,"open_issues_count":5,"forks_count":22,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-04T05:41:54.118Z","etag":null,"topics":["crypt","go","unix"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GehirnInc.png","metadata":{"files":{"readme":"README.rst","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":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-03-14T04:01:54.000Z","updated_at":"2025-03-09T21:54:24.000Z","dependencies_parsed_at":"2024-06-18T13:47:58.606Z","dependency_job_id":"e18ff4aa-56f6-4369-8f8d-55112eba1caf","html_url":"https://github.com/GehirnInc/crypt","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/GehirnInc%2Fcrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GehirnInc%2Fcrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GehirnInc%2Fcrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GehirnInc%2Fcrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GehirnInc","download_url":"https://codeload.github.com/GehirnInc/crypt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681494,"owners_count":21144700,"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":["crypt","go","unix"],"created_at":"2024-11-07T00:13:45.039Z","updated_at":"2025-04-13T07:50:49.984Z","avatar_url":"https://github.com/GehirnInc.png","language":"Go","readme":".. image:: https://travis-ci.org/GehirnInc/crypt.svg?branch=master\n    :target: https://travis-ci.org/GehirnInc/crypt\n\ncrypt - A password hashing library for Go\n=========================================\ncrypt provides pure golang implementations of UNIX's crypt(3).\n\nThe goal of crypt is to bring a library of many common and popular password\nhashing algorithms to Go and to provide a simple and consistent interface to\neach of them. As every hashing method is implemented in pure Go, this library\nshould be as portable as Go itself.\n\nAll hashing methods come with a test suite which verifies their operation\nagainst itself as well as the output of other password hashing implementations\nto ensure compatibility with them.\n\nI hope you find this library to be useful and easy to use!\n\nInstall\n-------\n\nTo install crypt, use the *go get* command.\n\n.. code-block:: sh\n\n   go get github.com/GehirnInc/crypt\n\n\nUsage\n-----\n\n.. code-block:: go\n\n    package main\n\n    import (\n    \t\"fmt\"\n\n    \t\"github.com/GehirnInc/crypt\"\n    \t_ \"github.com/GehirnInc/crypt/sha256_crypt\"\n    )\n\n    func main() {\n    \tcrypt := crypt.SHA256.New()\n    \tret, _ := crypt.Generate([]byte(\"secret\"), []byte(\"$5$salt\"))\n    \tfmt.Println(ret)\n\n    \terr := crypt.Verify(ret, []byte(\"secret\"))\n    \tfmt.Println(err)\n\n    \t// Output:\n    \t// $5$salt$kpa26zwgX83BPSR8d7w93OIXbFt/d3UOTZaAu5vsTM6\n    \t// \u003cnil\u003e\n    }\n\nDocumentation\n-------------\n\nThe documentation is available on GoDoc_.\n\n.. _GoDoc: https://godoc.org/github.com/GehirnInc/crypt\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgehirninc%2Fcrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgehirninc%2Fcrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgehirninc%2Fcrypt/lists"}