Save the encrypted data with additional properties

Save the compressed string into the db by adding some additional
properties and retrieve from the db