Beispiel #1
0
 public function decrypt($field)
 {
     if (!$this->isEncrypted($field)) {
         return parent::_get($field);
     }
     $decrypted = str_replace(self::ENCRYPTION_PREFIX . config('security.secret'), '', Ajde_Component_String::decrypt(parent::_get($field)));
     return $decrypted;
 }