MCPcopy Create free account
hub / github.com/SteveGremory/Zap / DecryptionAlgorithm

Interface DecryptionAlgorithm

src/encryption/mod.rs:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32pub trait DecryptionAlgorithm<T>
33where
34 T: Read,
35{
36 type Decryptor: DecryptionModule;
37
38 fn decryptor(&self, reader: T) -> Result<Self::Decryptor, EncryptorInitError>;
39}
40
41#[derive(Default, Clone)]
42pub enum EncryptionSecret {

Callers

nothing calls this directly

Implementers 4

chachapoly.rssrc/encryption/chachapoly.rs
passthrough.rssrc/encryption/passthrough.rs
xchachapoly.rssrc/encryption/xchachapoly.rs
aes_gcm_256.rssrc/encryption/aes_gcm_256.rs

Calls

no outgoing calls

Tested by

no test coverage detected