Code to syncronusly encrypt and decrypt content added