decrypt

Function decrypt 

Source
pub fn decrypt<V: Variant>(
    seed: &Seed<V>,
    ciphertext: &Ciphertext<V>,
) -> Option<Block>
Expand description

Decrypts a TLE ciphertext using the seed from a certificate (i.e. notarization, finalization, or nullification).

Returns None if the ciphertext is invalid or encrypted for a different round than the given seed.