Added persistence encryption