clickingbuttons

Results 46 comments of clickingbuttons

It's with great sorrow I publish [yet another datetime library.](https://github.com/clickingbuttons/datetime) I really hope the stdlib will have general purpose date and time parsing upon 1.0.0.

Windows failure seems to be a `RemoveDir` flake. ``` Main test suite... test +- test-cli +- RemoveDir C:\Users\ci\george4\_work\zig\zig\zig-cache\tmp\747baf9cde4f97ee +- zig build test failure error: Unexpected error: the following command exited...

I'm in favor of matching `@compileLog(args: ...) void`. Right now I'm having to workaround this by using `@compileError(std.fmt.comptimePrint("", .{}))`

Not only should key usage be verified, but also: - Additional key usage - Policy chain - Basic constraints - All critical extensions are parsed - Correctly parse dates before...

I've made them public and updated the OP.

> SHA512 truncated to 256 bits is widely used... I did not know that. That makes sense because the `SHA-512/t` variants were standardized 11 years after `SHA-512`... yikes! > We...

> I've never seen any actual protocol or application where other sizes are used. I can come up with some creative bit-packing use cases, but I defer to you. >...

Performance difference is within margin of error. Looks like rolling those 2 loops changed nothing but readability :tada: . ```sh ~/src/poop(main)$ zig version 0.12.0-dev.3673+1fb238131 ~/src/poop(main)$ zig build-exe ./sha.zig -O ReleaseFast...

I loved your doc comment so much I made it into a namespace. ```zig /// Truncating the output of SHA2-based hash functions improves security by mitigating... pub const truncated =...

I moved the truncation comment to the module docs, dropped the overeager `truncated` namespace, and did away with `fn Sha512Truncated` (i.e. no more generics).