If you are doing a sign up, then you would need to store the information of the sign up somewhere. Have you a database in mind to do this, or just email you the information with a generic password ?
If you are doing the latter, I would suggest doing the following:
Take some of the information from the sign up form, such as name, last name then first name and then using jQuery and md5 library encrypt it ( jquery-2.1.3.js.zip (72.2 KB) md5.js.zip (2.8 KB) )
Using this method the code will never show the password in its true form, but you will know the formula on how to find it. All the browser will see is the encrypted part.
If you choose the database root, but have no idea on PHP, you could use REST and Parse.com to hold the information. If you search this forum for parse.com you will see a working example of this I did before.