MyBB Community Forums

Full Version: Crypted unique identifier
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 ?
I'd probably just has the ID, since that should never change. I'd probably use something like