Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QCryptographicHash General Questions

QCryptographicHash General Questions

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 832 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kosta
    wrote on last edited by
    #1

    I have a database that is actually used by my php app, and i would like to make a Qt application that will also use this database. My problem is that as i saw in the documentation Qt only supports SHA (and md4-5) algorithms but i was used to use php's password_hash("the password", PASSWORD_DEFAULT) which uses BCRYPT algorithm with a random salt. So i have 2 problems

    • 1st the algorithm is not supported

    • 2nd Qt doesn't have a random salt method

    My php db is not live so it's not important if i change algorithm but i would like to know which one is the safest to use on live implementations, and also if i can use a constant has a salt and if i should add my salt to the string before getting hashed or after.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The QCA module might be what you are looking for.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        The QCA module might be what you are looking for.

        Hope it helps

        K Offline
        K Offline
        Kosta
        wrote on last edited by
        #3

        @SGaist You are literally everywhere, thanks alot once again that is exactly what i was looking for!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved