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

Interface EncryptionAlgorithm

src/encryption/mod.rs:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23pub trait EncryptionAlgorithm<T>
24where
25 T: Write,
26{
27 type Encryptor: EncryptionModule;
28
29 fn encryptor(&self, writer: T) -> Result<Self::Encryptor, EncryptorInitError>;
30}
31
32pub trait DecryptionAlgorithm<T>
33where

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