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