diff --git a/docs/protocol.md b/docs/protocol.md index dccbc8f..76b2a83 100644 --- a/docs/protocol.md +++ b/docs/protocol.md @@ -477,7 +477,7 @@ sees them. One subsection per lane, appended, never rewritten. default unchecked context; it wraps and is then reinterpreted by the `(uint)` cast. Reproduce with wrapping 32-bit addition — `&+` in Swift, not `+`, which would trap. **[verified]** against an independent SHA-512 - implementation: key `abcdefghijklmnop` ⇒ magic `334517251` (0x13EC_4F03). + implementation: key `abcdefghijklmnop` ⇒ magic `334517251` (0x13F0_5403). 4. **The stream preamble is 48 bytes, not 32.** 16-byte salt and 16-byte IV in the clear (`Encryption.cs:124-129`), then one 16-byte *ciphertext* block — the sacrificial block is random plaintext written *through* the cipher