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
}
