Рыба проекта. Минимальная функциональность
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package crypto
|
||||
|
||||
import "io"
|
||||
|
||||
// Decryptor defines the contract for decrypting ciphertext using private keys.
|
||||
type Decryptor interface {
|
||||
Decrypt(
|
||||
src io.Reader,
|
||||
privs []RecipientPriv,
|
||||
plaintext io.Writer,
|
||||
) error
|
||||
}
|
||||
Reference in New Issue
Block a user