Hacker News new | past | comments | ask | show | jobs | submit login

Point, though binary normalization is easier to define in a manner everybody will consistently implement as opposed to, say, SMTP headers.

...I guess it's abominations like SMTP that I mainly think of when I hear "text-based protocol".

JSON and bencode are probably safe enough.

(Canonicalization is not useful from a security perspective, since an attacker is under no obligation to canonicalize their message.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: