You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Searching for fast Keccak implementations in Julia, I came across @tecosaur's package KangarooTwelve.jl. I think it should be straightforward to extract SHA-3 implementations from it. For example, changing the hardcoded number of rounds from 12 to 24 in ::Val{nrounds}=Val{12}()), the function SHA3-256 can be computed as follows:
Searching for fast Keccak implementations in Julia, I came across @tecosaur's package KangarooTwelve.jl. I think it should be straightforward to extract SHA-3 implementations from it. For example, changing the hardcoded number of rounds from 12 to 24 in
::Val{nrounds}=Val{12}())
, the function SHA3-256 can be computed as follows:On my machine, it performs better for short messages
and significantly better for long messages:
I just wanted to leave this observation as a note. Feel free to close the issue.
The text was updated successfully, but these errors were encountered: