qa: fix wrong hex annotation for the verified magic-number example
334517251 decimal is 0x13F0_5403, not 0x13EC_4F03; the decimal value (independently re-verified against a Python SHA-512 chain) was already correct, only the hex gloss was wrong.
This commit is contained in:
1 parent
8a59685dbf
commit
56448cca0d
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user