diff options
| author | Alex Gleason <alex@alexgleason.me> | 2026-03-17 17:11:10 -0500 |
|---|---|---|
| committer | Alex Gleason <alex@alexgleason.me> | 2026-03-17 17:11:10 -0500 |
| commit | 3465f540e3eaedccb5309711b502f0febf56b52f (patch) | |
| tree | b7588f61fddf9374268d5cd6f4e3f2655d7c840a /46.md | |
| parent | 98fb2069515bf325faebe0d74a1ac739ed653d36 (diff) | |
nip44: reject non-canonical extended prefix in unpad() pseudocode
When the 6-byte extended prefix sentinel is detected, validate that
the decoded length is >= extended_prefix_threshold (65536). Without
this, the same plaintext could be encoded with either prefix format,
breaking strict canonicalization.
Diffstat (limited to '46.md')
0 files changed, 0 insertions, 0 deletions