• zaphod@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    13 hours ago

    I’m not even sure how I would store the answers to these questions in a database. Would you hash them like passwords or just store them in plain text (maybe encrypt them, but if someone has access to your servers they can probably access the encryption key too)?

    • FuglyDuck@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      12 hours ago

      many passwords allow you to store pass keys (like with crypto wallets) as hashes attached to any login credentials. I would suggest storing them that way. at worst, I used to create secondary credentials.