Working web application with encrypt and unencrypt methods