3 ms·
Which hash are you using? All this would be for naught if it's one of the many susceptible to length extension attacks; e.g. SHA2. This is the reason everyone u
by jessaustin 8y ago
Which hash are you using? All this would be for naught if it's one of the many susceptible to length extension attacks; e.g. SHA2. This is the reason everyone uses HMAC now.
- bullen 8y agoThe salt is not attacker-controlled.
- jessaustin 8y agoI thought the left column above was the client/attacker? She doesn't actually have to use the salt you send her... [EDIT:] Actually never mind. I'm sure this is all fine, and look how much more efficient this 3-way back-and-forth conversation is than any conventional auth scheme would be. You should design all your own auth.