Store encrypted strings in the database
Structr supports encrypted string properties via the Encrypted
property type, using AES.
You can either set a global encryption key using application.encryption.secret
in structr.conf, use the built-in function set_encryption_key() to set the encryption key for each read / write operation, or use the built-in functions encrypt() and decrypt() to encrypt and decrypt strings manually.