PHP implementation wastes 1 hash computation to determine the hash length
defuse opened this issue · comments
Noticed this during my audit. It's not strictly necessary since you can unroll the first iteration of the loop and get the length there. However, it's only one hash computation, so I'm not going to fix it.