Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSqlColEnc ¶
Types ¶
type MongoClientEncrypted ¶
type MongoClientEncrypted struct {
// contains filtered or unexported fields
}
func NewMongoClientEncrypted ¶
func NewMongoClientEncrypted(provider encryptionInterfaces.Provider) *MongoClientEncrypted
func (*MongoClientEncrypted) Decrypt ¶
func (c *MongoClientEncrypted) Decrypt(src interface{}, dst interface{}) error
func (*MongoClientEncrypted) Encrypt ¶
func (c *MongoClientEncrypted) Encrypt(data interface{}) (res interface{}, err error)
type MongoSecureField ¶
type MongoSecureField struct { Meta encryptionInterfaces.Meta `json:"meta" bson:"meta"` Data map[string]MongoSecureFieldData `json:"data" bson:"data"` // contains filtered or unexported fields }
func NewMongoSecureField ¶
func NewMongoSecureField(providerInterface encryptionInterfaces.Provider, provider encryptionInterfaces.EncProvider) *MongoSecureField
func (*MongoSecureField) AddData ¶
func (c *MongoSecureField) AddData(name string, data interface{}, encrypted, createHash bool)
type MongoSecureFieldData ¶
type SqlClientEncrypted ¶
type SqlClientEncrypted struct {
// contains filtered or unexported fields
}
func NewSqlClientEncrypted ¶
func NewSqlClientEncrypted(provider encryptionInterfaces.Provider) *SqlClientEncrypted
func (*SqlClientEncrypted) Decrypt ¶
func (c *SqlClientEncrypted) Decrypt(src, dest interface{}) error
func (*SqlClientEncrypted) Encrypt ¶
func (c *SqlClientEncrypted) Encrypt(data interface{}) (val interface{}, err error)
Click to show internal directories.
Click to hide internal directories.