implement AESProperties, which does a very similar job as the owasp EncryptedProperties (some code is copy-pasted)