Wire beforeSave and afterFind hooks onto a model to transparently encrypt on write and decrypt on read.
Call once per model after it is defined: applyEncryptionHooks(User);
Wire beforeSave and afterFind hooks onto a model to transparently encrypt on write and decrypt on read.
Call once per model after it is defined: applyEncryptionHooks(User);