How to decrypt using Encrypted Field Type
kiltedup - 3 months ago
I have added a field using the Encrypted Field Type. All fine and can see it is indeed encrypted in db.
However when I come to decrypt, I'm getting this error :
"Call to a member function decrypt() on string"
The config is the default, so auto_decrypt is set to false - getting the error when using
$entry->thefield->decrypt() as per docs.
Anyway using this field type / seen this / have any tips?