func NewAcrawriterDataEncryptor(keystore keystore.PublicKeyStore) (*AcrawriterDataEncryptor, error) {
	return &AcrawriterDataEncryptor{keystore}, nil
}
NewAcrawriterDataEncryptor return new AcrawriterDataEncryptor initialized with keystore
package encryptor
import (
	acrawriter "github.com/cossacklabs/acra/acra-writer"
	"github.com/cossacklabs/acra/decryptor/base"
	"github.com/cossacklabs/acra/encryptor/config"
	"github.com/cossacklabs/acra/keystore"
)
type DataEncryptor interface {
	EncryptWithZoneID(zoneID, data []byte, setting config.ColumnEncryptionSetting) ([]byte, error)
	EncryptWithClientID(clientID, data []byte, setting config.ColumnEncryptionSetting) ([]byte, error)
}
type AcrawriterDataEncryptor struct {
	keystore keystore.PublicKeyStore
}