Results 1 to 2 of 2

Thread: Encrypting and decrypting with QCA

  1. #1
    Join Date
    Dec 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Encrypting and decrypting with QCA

    I've never used QCA up to now, so this might be a silly question...
    I've been browsing the documentation and I can't find the way to decrypt with QCA::MessageAuthenticationCode. There is an encryption example (http://delta.affinix.com/docs/qca/ma...p-example.html), but I don't see a decryption one...

  2. #2
    Join Date
    Feb 2009
    Posts
    79
    Thanks
    11
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Encrypting and decrypting with QCA

    Well,
    do you know the difference between a message authentication code and pure encryption?

    AFAIcan remeber, for a MAC, Alice creates the mac, gives it together with the message to Bob, and bob can then compute the mac again(if he has the key) and compare the computation result to the transmitted code.
    I think it was in that way.

    and encryption of messages means to not even give the pain message to bob. alice encrypts it message , gives this "crap" to bob, and bob can decrypt it (again ifhe knows the key).

    For encryption and decryption, youll need a cipher, see
    http://delta.affinix.com/docs/qca/ci...p-example.html

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.