Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Crypted unique identifier
#1
Hi there,
I'm developing an external application (bash script) whish will call a misc page on a MyBB forum (wget or curl).
I'm looking for a way to identify user with a crypted identifier, but don't really know which solution is the best:
  • Create a new field in mybb_users (automatically filled when the user asks the bash script for the first time)
  • Hash the uid
  • Hash the username
  • Hash both
  • ...
I don't want to use a field that the user can modify (as email or password).

Any idea or suggestion ?
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#2
I'd probably just has the ID, since that should never change. I'd probably use something like https://hashids.org/php/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)