You are not logged in.

blue death

Beginner

  • "blue death" is male
  • "blue death" started this thread

Posts: 51

Location: somewhere in space and time

Occupation: cs-student

  • Send private message

1

Thursday, April 28th 2005, 3:59pm

Qt tips & snippets at The OSDaB Project

i finally found some time to add a new "Developer's Corner" section to The OSDaB Project website with some interesting - let's hope ;) - tips and code snipplets. some examples:

  • a bunch of classes for handling of zip files (pure Qt/C++, almost written from scratch)
  • MD5 and SHA-1 Hashing
  • Base 64 encoding
  • XML writer
  • Some nice widgets (i.e. color chooser button, "rating" label and URL label)


i hope some of the stuff will be useful.
please send an email to blue_death[at]users[dot]sourceforge[dot]net for comments, corrections, suggestions and loooooooooots of money :D :D
don't dream, if you want your dreams to become true

This post has been edited 1 times, last edit by "blue death" (Sep 30th 2005, 2:53pm)


ChMaster

Beginner

  • "ChMaster" is male

Posts: 14

Location: Germany

  • Send private message

2

Friday, April 29th 2005, 4:26pm

RE: New tips & snipplets section at The OSDaB Project website

very nice, very very nice, thx for that (code snipplets and the OSDaB Movida ) *kiss* :P

This post has been edited 2 times, last edit by "ChMaster" (Apr 29th 2005, 4:31pm)


blue death

Beginner

  • "blue death" is male
  • "blue death" started this thread

Posts: 51

Location: somewhere in space and time

Occupation: cs-student

  • Send private message

3

Sunday, June 19th 2005, 11:55am

zip file extraction has been fixed and should now work correctly :)
i hope it will be usefull for someone :)

http://osdab.sourceforge.net/devcorner/zip.php
don't dream, if you want your dreams to become true

This post has been edited 1 times, last edit by "blue death" (Jun 19th 2005, 11:57am)


blue death

Beginner

  • "blue death" is male
  • "blue death" started this thread

Posts: 51

Location: somewhere in space and time

Occupation: cs-student

  • Send private message

4

Friday, September 30th 2005, 2:58pm

First Qt 4 ports uploaded

The Developer's Corner now contains some of the old code snippets ported to Qt4 (no Qt3 support library is required).

Currently available ports:
  • MD5 hashing algorithm
  • SHA1 hashing algorithm
  • Base64 encoding and decoding
  • XML Writer


I'm currently working to port Movida to Qt 4.. it will take some time though :(
don't dream, if you want your dreams to become true

jacek

Master

  • "jacek" is male

Posts: 2,729

Location: Warsaw, Poland

  • Send private message

5

Friday, September 30th 2005, 3:26pm

RE: First Qt 4 ports uploaded

Quoted

Originally posted by blue death
Currently available ports:
MD5 hashing algorithm

Nice, but how about something like MD5Hash::hashArray( const QByteArray& array )? This would be very usefull for hashing passwords and authentication using challenge-response protocol.

blue death

Beginner

  • "blue death" is male
  • "blue death" started this thread

Posts: 51

Location: somewhere in space and time

Occupation: cs-student

  • Send private message

6

Friday, September 30th 2005, 3:37pm

good idea :)
i will add it as soon as possible to md5 and sha1 hashing classes :)
don't dream, if you want your dreams to become true

Posts: 2,162

Location: Graz, Austria

Occupation: Student

  • Send private message

7

Friday, September 30th 2005, 3:49pm

Hashing can also (maybe more sophisticated) be achieved through QCA http://delta.affinix.com/qca/

Cheers,
_
Qt/KDE Developer
Debian User

blue death

Beginner

  • "blue death" is male
  • "blue death" started this thread

Posts: 51

Location: somewhere in space and time

Occupation: cs-student

  • Send private message

8

Monday, October 3rd 2005, 10:17am

RE: First Qt 4 ports uploaded

Quoted

Originally posted by jacek
Nice, but how about something like MD5Hash::hashArray( const QByteArray& array )? This would be very usefull for hashing passwords and authentication using challenge-response protocol.


done :)
md5 and sha1 classes (both qt3 and qt4 versions) now have two methods for hashing of qbytearrays and const char* arrays.
i only uploaded files to sourceforge and updated the "download latest version" link in each webpage... i will add detail to the website as soon as possible :]

ps: QCA seems very interesting if you are interested in a qt wrapper for cryptographic functions... i just needed some little classes for hashing data, without the need to link some library :)
don't dream, if you want your dreams to become true

jacek

Master

  • "jacek" is male

Posts: 2,729

Location: Warsaw, Poland

  • Send private message

9

Monday, October 3rd 2005, 4:42pm

RE: First Qt 4 ports uploaded

Quoted

Originally posted by blue death
QCA seems very interesting if you are interested in a qt wrapper for cryptographic functions...

And it looks like it's easier to use than other cryptographic libraries. Not mentioning that it seamlessly integrates with Qt.

Quoted

i just needed some little classes for hashing data, without the need to link some library :)

Exactly, you need QCA, a qca-openssl plugin and OpenSSL just to be able to use MD5 and still you must check at runtime whether all algorithms you need are available.

blue death

Beginner

  • "blue death" is male
  • "blue death" started this thread

Posts: 51

Location: somewhere in space and time

Occupation: cs-student

  • Send private message

10

Tuesday, October 4th 2005, 11:54am

Zip/UnZip classes updated

new update for the developer's corner :))

the Zip and UnZip classes have been ported to Qt4, lots of baaaaad baaaad bugs have been fixed and a small command line test routine has been added to see the classes in action :D

please look at the website and readme file for details.. the classes have lots of limitations and surely need to be adapted to fit your needs.

quick linkz:
Qt3 Zip/Unzip
Qt4 Zip/Unzip
don't dream, if you want your dreams to become true