LeKoala\Encrypt\HasEncryption
This trait allow encryption for fields that don't require a blind index
Synopsis
trait HasEncryption
{
- // methods
- public string prepValueForDB()
- public void setValue()
- // Inherited methods from HasBaseEncryption
- public Exception getEncryptionException()
- public EncryptedField getEncryptedField()
- public string getDecryptedValue()
- protected void setEncryptionAad()
- protected string decryptValue()
Hierarchy
Uses
Used by
Members
protected
- $encryptionAad — string
- $encryptionException — Exception
Methods
public
- prepValueForDB() — prepValueForDB gets passed $this->value
- setValue()
Inherited from LeKoala\Encrypt\HasBaseEncryption
protected
- decryptValue() — Decrypt a value using underlying EncryptedField instance
- setEncryptionAad()
public
- getDecryptedValue() — Decrypt current value using underlying EncryptedField instance
- getEncryptedField()
- getEncryptionException()