by x092 · 7y ago · 0 comments
- SHA-256 is used instead of SHA-1;
- Padding bytes are involved in the computation of msg_key;
- msg_key depends not only on the message to be encrypted, but on a portion of auth_key as well;
- 12..1024 padding bytes are used instead of 0..15 padding bytes in v.1.0.
That criticism is fair a lot of times, but every higher level crypto construction is going to be unproven for a while until checked.
It's not like they were inventing their own hash function and stream cypher.
No, Signal is not "homebrew crypto".
Sure, if I put some primitives together (even if I had a good knowledge of how to do it) in a closed product and nobody evaluates it (and I add a label like "military security") that's Homebrew, no questions.
But all systems are born "in secret" (at least for a short while). Unless the definition involves appeal to authority.