Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deatil/zig-md4

A MD4 hash function library for Zig
https://github.com/deatil/zig-md4

md4 zig zig-md4

Last synced: about 1 month ago
JSON representation

A MD4 hash function library for Zig

Awesome Lists containing this project

README

        

## Zig-MD4

zig-md4 is a MD4 hash function for Zig.

### Env

- Zig >= 0.12

### Get Starting

~~~zig
const std = @import("std");
const MD4 = @import("zig-md4").MD4;

pub fn main() !void {
var out: [16]u8 = undefined;

h = MD4.init(.{});
h.update("abc");
h.final(out[0..]);

// output: a448017aaf21d8525fc10ae87aa6729d
std.debug.print("output: {s}\n", .{out});
}
~~~

### LICENSE

* The library LICENSE is `Apache2`, using the library need keep the LICENSE.

### Copyright

* Copyright deatil(https://github.com/deatil).