Skip to main content

is_nip04

Function is_nip04 

Source
fn is_nip04(payload: &str) -> bool
Expand 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.