Encrypts text fields using mcrypt to keep them safe.
Add as a submodulegit submodule add https://github.com/symphonists/encrypted_input.git extensions/encrypted_input --recursive
This field acts like a normal text input, but the value stored in the database is encrypted and is therefore not human-readable. This is useful for storing data such as passwords, oAuth/API tokens or personal details. Encryption is achieved using mcrypt (256-bit) with a salt (key) of your own choosing.
This means that if your database is somehow compromised then your content remains safe. A hacker would need to also obtain the salt from the config file to decrypt your content.
- Put the
encrypted_inputfolder into your
- Enable "Field: Encrypted Input" from the System > Extensions page
- Update the salt on the System > Preferences page
- Add "Encrypted Input" fields to your sections
This extension provides a default randomised salt for you. If you wish to change the value, ensure you do so before you begin creating entries. If the data is saved and encrypted already and you change the salt, the values can not be decrypted again!
Many thanks to Michael Hay for funding this extension and permitting it to be released as open source.
Symphony 2.3.0 to 2.x.x
- further 2.3+ Support
Symphony 2.2.x only