Page 1 of 1

User validating Using a pin

Posted: Mon Jul 09, 2012 1:29 pm
by Geeth

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


User validating Using a pin

Posted: Mon Jul 09, 2012 1:32 pm
by Geeth

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


User validating Using a pin

Posted: Mon Jul 09, 2012 1:42 pm
by maxkatz

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.


User validating Using a pin

Posted: Tue Jul 24, 2012 9:48 pm
by Harish Narasimhan

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