{"id":16243439,"url":"https://github.com/empicano/sha2-256","last_synced_at":"2025-03-19T17:32:19.071Z","repository":{"id":203734737,"uuid":"167485413","full_name":"empicano/sha2-256","owner":"empicano","description":"The SHA2-256 hash function in x86 IA-32 assembly","archived":false,"fork":false,"pushed_at":"2020-01-15T20:12:51.000Z","size":19,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T09:45:14.150Z","etag":null,"topics":["assembly","cryptography","hash","nasm","sha2","sha256","sha512","x86"],"latest_commit_sha":null,"homepage":"","language":"Assembly","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/empicano.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":"2019-01-25T04:34:50.000Z","updated_at":"2024-10-26T11:28:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f91c691c-ef01-433c-9e10-3649ddaeb6b3","html_url":"https://github.com/empicano/sha2-256","commit_stats":null,"previous_names":["empicano/sha2-256"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/empicano%2Fsha2-256","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/empicano%2Fsha2-256/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/empicano%2Fsha2-256/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/empicano%2Fsha2-256/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/empicano","download_url":"https://codeload.github.com/empicano/sha2-256/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244474002,"owners_count":20458568,"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":["assembly","cryptography","hash","nasm","sha2","sha256","sha512","x86"],"created_at":"2024-10-10T14:14:58.534Z","updated_at":"2025-03-19T17:32:19.065Z","avatar_url":"https://github.com/empicano.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"This project realizes the SHA2 cryptographic hash function for Linux in NASM syntax IA-32 assembly. An explanation with pseudocode of SHA2 can be found on [Wikipedia](https://en.wikipedia.org/wiki/SHA-2).\n\nI intended it mostly as an assembly programming exercise, whilst also wanting to know how a hash function works on the inside. I had no real aspirations for extraordinary performance. I worked my way down from pseudocode to an implementation in Python, followed by a translation of the latter to assembly code.\n\n**Assemble and run with:**\n\n- `nasm -f elf32 sha2-256.asm -o sha2-256.o`\n- `ld -m elf_i386 sha2-256.o -o sha2-256`\n- `./sha-256 \u003cstring to hash\u003e`\n\nThe assembly version as well as the Python version expect ascii strings as input.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fempicano%2Fsha2-256","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fempicano%2Fsha2-256","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fempicano%2Fsha2-256/lists"}