{"id":13741245,"url":"https://github.com/deatil/zig-md4","last_synced_at":"2025-07-29T07:03:50.226Z","repository":{"id":240411043,"uuid":"802359650","full_name":"deatil/zig-md4","owner":"deatil","description":" A MD4 hash function library for Zig","archived":false,"fork":false,"pushed_at":"2025-02-11T05:57:26.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T06:30:19.282Z","etag":null,"topics":["md4","zig","zig-md4"],"latest_commit_sha":null,"homepage":"https://github.com/deatil/zig-md4","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deatil.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":"2024-05-18T04:51:42.000Z","updated_at":"2025-02-11T05:57:29.000Z","dependencies_parsed_at":"2024-05-30T15:10:51.780Z","dependency_job_id":"ef735413-2bef-4cab-8a5d-2b546871fa0c","html_url":"https://github.com/deatil/zig-md4","commit_stats":null,"previous_names":["deatil/zig-md4"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deatil%2Fzig-md4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deatil%2Fzig-md4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deatil%2Fzig-md4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deatil%2Fzig-md4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deatil","download_url":"https://codeload.github.com/deatil/zig-md4/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241014038,"owners_count":19894184,"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":["md4","zig","zig-md4"],"created_at":"2024-08-03T04:00:57.162Z","updated_at":"2025-07-29T07:03:50.213Z","avatar_url":"https://github.com/deatil.png","language":"Zig","readme":"## Zig-MD4 \n\nzig-md4 is a MD4 hash function for Zig.\n\n\n### Env\n\n - Zig \u003e= 0.14.0-dev.3451+d8d2aa9af\n\n\n### Adding zig-md4 as a dependency\n\nAdd the dependency to your project:\n\n```sh\nzig fetch --save=zig-md4 git+https://github.com/deatil/zig-md4#main\n```\n\nor use local path to add dependency at `build.zig.zon` file\n\n```zig\n.{\n    .dependencies = .{\n        .@\"zig-md4\" = .{\n            .path = \"./lib/zig-md4\",\n        },\n        ...\n    },\n    ...\n}\n```\n\nAnd the following to your `build.zig` file:\n\n```zig\n    const zig_md4_dep = b.dependency(\"zig-md4\", .{});\n    exe.root_module.addImport(\"zig-md4\", zig_md4_dep.module(\"zig-md4\"));\n```\n\nThe `zig-md4` structure can be imported in your application with:\n\n```zig\nconst zig_md4 = @import(\"zig-md4\");\n```\n\n\n### Get Starting\n\n~~~zig\nconst std = @import(\"std\");\nconst MD4 = @import(\"zig-md4\").MD4;\n\npub fn main() !void {\n    var out: [16]u8 = undefined;\n    \n    var h = MD4.init(.{});\n    h.update(\"abc\");\n    h.final(out[0..]);\n    \n    // output: a448017aaf21d8525fc10ae87aa6729d\n    std.debug.print(\"output: {x}\\n\", .{out});\n}\n~~~\n\n\n### LICENSE\n\n*  The library LICENSE is `Apache2`, using the library need keep the LICENSE.\n\n\n### Copyright\n\n*  Copyright deatil(https://github.com/deatil).\n","funding_links":[],"categories":["Libraries","Data \u0026 Science"],"sub_categories":["Encryption"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeatil%2Fzig-md4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeatil%2Fzig-md4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeatil%2Fzig-md4/lists"}