The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
user / pass -> unique pin
#7
Yeah. I was going to say the same thing. The other issue you have is that with only a single piece of data, there's no way you can encrypt the pin in the database.

What happens if you have a username and a password, it finds the username and then tries to decrypt the password in the db with the password entered in the form.

Since there won't be a username, you would have to go through every single password and try to decrypt it looking for a match. Since our database is designed to prevent that, it would take forever.

The only thing I can think of if you truly want a single input is to let them pick the first last 4 digits of the pin and you pick the first 4(or more). You'd start your database with user 1000 and basically the first 4 digits would be the row in the db and the last 4 would be the pin.

So 10014124 would go to row 1001 and try to decrypt with the pw 4124.

This would be extremely easy to crack though as Brandin said.

So yeah, you'll definitely have to tell me what you want there, but I can help.
  Reply


Messages In This Thread
user / pass -> unique pin - by roger - 06-22-2018, 09:40 AM
user / pass -> unique pin - by mudmin - 06-22-2018, 11:25 AM
user / pass -> unique pin - by roger - 06-22-2018, 11:40 AM
user / pass -> unique pin - by mudmin - 06-22-2018, 12:00 PM
user / pass -> unique pin - by roger - 06-22-2018, 12:27 PM
user / pass -> unique pin - by Brandin - 06-22-2018, 03:40 PM
user / pass -> unique pin - by mudmin - 06-22-2018, 05:37 PM
user / pass -> unique pin - by roger - 06-25-2018, 07:36 AM

Forum Jump:


Users browsing this thread: 7 Guest(s)