{"id":19363293,"url":"https://github.com/mathisve/gohashingexample","last_synced_at":"2026-06-17T17:33:06.026Z","repository":{"id":123973210,"uuid":"211425537","full_name":"mathisve/goHashingExample","owner":"mathisve","description":"Basic sha 265 hashing example","archived":false,"fork":false,"pushed_at":"2019-09-30T11:40:04.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-16T17:27:44.995Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathisve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-09-28T01:17:31.000Z","updated_at":"2021-05-16T14:56:07.000Z","dependencies_parsed_at":"2024-04-01T06:39:29.625Z","dependency_job_id":"414de051-73fe-431b-96bf-e2da87f883ee","html_url":"https://github.com/mathisve/goHashingExample","commit_stats":null,"previous_names":["mathisco-01/gohashingexample","mathisco-01/goencryptionexample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mathisve/goHashingExample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisve%2FgoHashingExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisve%2FgoHashingExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisve%2FgoHashingExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisve%2FgoHashingExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathisve","download_url":"https://codeload.github.com/mathisve/goHashingExample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisve%2FgoHashingExample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28329806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10T07:33:38.481Z","updated_at":"2026-01-12T00:37:50.168Z","avatar_url":"https://github.com/mathisve.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goHashingExample\nBasic SHA 265 example in golang.\n\nCould be used to store passwords, emails, ect.\n\n# How to use\n\n```golang\nvar username string = \"username\"\nvar password string = \"password\"\nhashedLogin := hashing.HashLoginInfo(username, password)\nfmt.Println(hashedLogin)\n```\n# main.go output\n\n```\nMathiss-iMac:goHashingExample mathis$ go run main.go\nType username: mathis\nType password: test123\nHashed username: c413eb8a7c9415f5f8ab446ee87b55f6d636d63c1af34c861949d6a300b8f6c7\nHashed password: 28742e3f48057028d5bfe3cf825e6a94cc6cbfbaa27ca7e7269a60563b76e90c\nHashing salt: k47DbTjjPeqVuDq9xrh2KqQQGXJqfmp99arntrMvfkTPrm7Pzesn9mByiSXYU65c\n```\nIf we run that a second time, you'll see the username hash is the same, but the password is diffirent (due to a diffirent salt)!\n```\nMathiss-iMac:goHashingExample mathis$ go run main.go\nType username: mathis\nType password: test123\nHashed username: c413eb8a7c9415f5f8ab446ee87b55f6d636d63c1af34c861949d6a300b8f6c7\nHashed password: 4982f30b1e5ea11a977dde2f51e21a686a8058572856c47c9347f5a8021174f3\nHashing salt: 1kjBCLvctOMDE8QvWZ4PYsMfP822IVnWqAqHLcH2DUhYJbw3zJWnUEL35WwzFClh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathisve%2Fgohashingexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathisve%2Fgohashingexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathisve%2Fgohashingexample/lists"}