[][src]Trait dsf_core::crypto::Decrypter

pub trait Decrypter {
    type Error;
    pub fn decrypt(
        &mut self,
        id: &Id,
        key: &SecretKey,
        data: &mut [u8]
    ) -> Result<(), Self::Error>; }

Decrypter trait, used to decrypt data for a given service

Associated Types

Loading content...

Required methods

pub fn decrypt(
    &mut self,
    id: &Id,
    key: &SecretKey,
    data: &mut [u8]
) -> Result<(), Self::Error>
[src]

Loading content...

Implementors

Loading content...