Geeth
Posts: 0
Joined: Thu Jun 28, 2012 9:59 am

User validating Using a pin

Hi

I am wondering weather I can use a pin code to authenticate the user. I want user to follow the following steps.

  1. First log in using username and password (validated through rest)

  2. If success let him create 4 digit pin.

  3. Then his username and password is encrypted using that pin.

  4. At the next log in user just needs to enter pin code (automatically web service is called and user validated)

    So my question is can I create a pin code and encrypt the username and password using pin and decrypt it using the pin ?

    Thank you so much

Geeth
Posts: 0
Joined: Thu Jun 28, 2012 9:59 am

User validating Using a pin

at the 4 step user name and password decrypted using the pin then web service is called.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

User validating Using a pin

Sure you can. Pin code creation as well as encryption would all be done in JavaScript. You are building an HTML5 mobile app, so you can do anything the browser supports.

Harish Narasimhan
Posts: 0
Joined: Tue Jul 24, 2012 9:48 pm

User validating Using a pin

Geeth or Max could you share the code for this please. Have a similar requirement in my app

Return to “Issues”