\EncryptedText

Synopsis

class EncryptedText extends Text {
}

Hierarchy

Extends

  • Text

Uses

Tasks

Line Task
48 Change the autogenerated stub

Members

protected

public

  • $is_encrypted

Methods

public

Inherited from EncryptedFieldTrait

public

  • getEncryptionKey() — Returns a custom key if one is explicitly set for this field. If a key is not set using setEncryptionKey(), returns null, which will trigger the AtRestCryptoService to use the default global key set in the ENCRYPT_AT_REST_KEY constant.
  • setEncryptionKey() — Sets an encryption key that will override the default key defined in the ENCRYPT_AT_REST_KEY constant.