Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@NotsoanoNimus
Copy link
Contributor

See the (passing) ✅ unit tests file for this new module.

To use it just import std::hash::sha512 and cook.

I've added some base information for a near-future expansion of the module to include the truncated hash versions of SHA512 as well (i.e., SHA384, SHA512/224, & SHA512/256).

I also plan to later adapt the SHA256 module to include SHA224, that way C3 will have the full SHA hashing suite available.

=====
I have not benchmarked this, but tried to keep it clean and optimized where I could.

@lerno lerno merged commit 5efc721 into c3lang:master Jun 20, 2025
74 of 84 checks passed
@lerno
Copy link
Collaborator

lerno commented Jun 20, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants