How to turn old form into encrypted form