Рыба проекта. Минимальная функциональность
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package crypto
|
||||
|
||||
import "io"
|
||||
|
||||
// Encryptor defines the contract for encrypting plaintext to multiple recipients.
|
||||
type Encryptor interface {
|
||||
Encrypt(
|
||||
plaintext io.Reader,
|
||||
recipients []RecipientPub,
|
||||
sink io.Writer,
|
||||
rand io.Reader,
|
||||
) error
|
||||
}
|
||||
Reference in New Issue
Block a user