{"id":16328270,"url":"https://github.com/nicolasff/sha1-erlang","last_synced_at":"2025-10-25T20:32:39.409Z","repository":{"id":816415,"uuid":"526746","full_name":"nicolasff/sha1-erlang","owner":"nicolasff","description":"SHA-1 in Erlang","archived":false,"fork":false,"pushed_at":"2010-02-19T23:38:22.000Z","size":74,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-31T10:36:04.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/nicolasff.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}},"created_at":"2010-02-19T22:51:29.000Z","updated_at":"2024-12-04T22:34:54.000Z","dependencies_parsed_at":"2022-08-16T11:00:34.919Z","dependency_job_id":null,"html_url":"https://github.com/nicolasff/sha1-erlang","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/nicolasff%2Fsha1-erlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasff%2Fsha1-erlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasff%2Fsha1-erlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolasff%2Fsha1-erlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicolasff","download_url":"https://codeload.github.com/nicolasff/sha1-erlang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238207673,"owners_count":19434095,"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-10T23:14:12.446Z","updated_at":"2025-10-25T20:32:34.170Z","avatar_url":"https://github.com/nicolasff.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"sha1.erl\n=====================\n\nThis algorithm was ported from the book *Cryptography: Theory and Practice*, by Douglas Stinson.\n\nTwo functions are exported, `sha1:binstring/1` and `sha1:hexstring/1`. These functions take a data string in input and output either a binary or a string of uppercase hexadecimal values:\n\n    1\u003e sha1:binstring(\"test\").\n    \u003c\u003c169,74,143,229,204,177,155,166,28,76,8,115,211,\n        145,233,135,152,47,187,211\u003e\u003e\n\n    2\u003e sha1:hexstring(\"test\").\n    \"A94A8FE5CCB19BA61C4C0873D391E987982FBBD3\"\nThe library features two functions to hash files, but they are very slow. Also be aware that although SHA-1 outputs 160 bits, an attack exists using 2^63 operations \"only\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasff%2Fsha1-erlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolasff%2Fsha1-erlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasff%2Fsha1-erlang/lists"}