I using sha256 after adding a secret enough if the message includes its length?
I’ve been reading about HMAC protecting from length extension attacks, but if the message already specifies it size, is HMAC adding any advantange to simple hashing after prepending a secret?
As example consider a protocol where the messag… Continue reading I using sha256 after adding a secret enough if the message includes its length?