...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.)
...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.)