Added Encrypt method