Results 1 to 4 of 4

Thread: How to encrypt password using bcrypt.

  1. #1
    Join Date
    Dec 2013
    Posts
    5
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default How to encrypt password using bcrypt.

    Hi,
    I wonder how I can use bcrypt to encryption my data - passwords ?
    I found old topic (link) but there no definite answer.

    I found also bcrypt implementation in C on github (link) but maybe exists some other cryptography's library for Qt ?

    Best,
    Mikael .)

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to encrypt password using bcrypt.

    There is a crypto library for Qt called QCA
    http://delta.affinix.com/qca/
    https://github.com/JPNaude/dev_notes...cture-with-Qt5

    Cheers,
    _

  3. #3
    Join Date
    Dec 2013
    Posts
    5
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: How to encrypt password using bcrypt.

    @anda_skoa - thx, I found QCA for Qt4 only..

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to encrypt password using bcrypt.

    You can build and use the bcrypt code you linked to with a little bit of juggling of data into and out of Qt objects as needed. If password hashing is all you require it is a simple and straightforward option. Another option is to use QCryptographicHash along with a salt value.

Similar Threads

  1. Simple Encrypt For Qt and PHP
    By wirasto in forum Qt Programming
    Replies: 1
    Last Post: 1st May 2013, 17:59
  2. [BCrypt] How To Crypt Users Password?
    By xyz247 in forum Newbie
    Replies: 2
    Last Post: 29th October 2012, 20:41
  3. Ho to encrypt with AES?
    By al3_85 in forum Qt Programming
    Replies: 3
    Last Post: 6th November 2011, 00:01
  4. How to encrypt Directory and File using Qt
    By akshar26 in forum Newbie
    Replies: 1
    Last Post: 1st July 2010, 00:19
  5. how to encrypt ?
    By probine in forum Qt Programming
    Replies: 3
    Last Post: 22nd November 2006, 19:32

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.