fn is_nip04(payload: &str) -> boolExpand description
Whether payload was encrypted the old way (NIP-04) rather than the
new (NIP-44): it ends in ?iv= and the 24 characters of an
initialisation vector, which nothing encrypted the new way does. Lists
written by older clients are.