Skip to main content

decode

Function decode 

Source
pub fn decode(event_id: &EventId) -> Option<Sha256>
Expand description

Decode an event ID into the sha256 it encodes. None unless the ID has the v3+ shape with canonical unpadded base64 in either alphabet.