invesdwin / invesdwin-context-security

invesdwin-context modules that provide security features
GNU Lesser General Public License v3.0
1 stars 0 forks source link

implement siphash in crypto #8

Closed subes closed 1 year ago

subes commented 1 year ago

a fast impl: https://github.com/NeilMadden/java-crypto-utils/tree/master/siphash

https://github.com/whitfin/siphash-java

subes commented 1 year ago

Siphash is a MAC similar to HMAC with different properties: https://en.wikipedia.org/wiki/SipHash

subes commented 1 year ago

done, used whitfin implementation (supports streaming, though does not support optional 128 bit digest length)

subes commented 1 year ago

external dependency actually not needed because it is included in bouncycastle