Search found 4 matches

by banana
Sat Sep 05, 2009 9:10 pm
Forum: Component Writing
Topic: Encrytion and Hash
Replies: 3
Views: 3166

#ifndef WXHASH_H_ #define WXHASH_H_ #include <wx/wx.h> #include <wx/stream.h> #include "cryptopp/cryptlib.h" using namespace CryptoPP; enum Hash_Names { HASH_SHA1, HASH_SHA256, HASH_SHA512, HASH_SHA224, HASH_SHA384, HASH_MD2, HASH_MD4, HASH_MD5, HASH_TIGER, HASH_WHIRLPOOL, HASH_RIPEMD160, HASH_RIPE...
by banana
Wed Aug 26, 2009 12:51 am
Forum: Component Writing
Topic: Encrytion and Hash
Replies: 3
Views: 3166

Encrytion and Hash

What are you thinking about two new classe for wxWidget? I'm thinking of an Encrytion and Hash Class based on the cryptopp ! The Class mustn't have all features implemented of crytopp! For example an class which can encrypt a string or a Stream with only one function! I think this is one of the thin...
by banana
Thu Feb 19, 2009 9:13 pm
Forum: General Development
Topic: Catch Key Events
Replies: 2
Views: 881

http://docs.wxwidgets.org/trunk/overview_events.html

maybe it's possible to use a dynamic Eventhandler for each object?!

mfg banana
by banana
Thu Feb 19, 2009 8:59 pm
Forum: General Development
Topic: rand() returning consistent results when running a game
Replies: 1
Views: 733

maybe you can use a gettick() function! for example SDL has an function which counts the ms after program start. When you are using this function then srand could get the ticks and not the time function and your game couldn't change it!! mfg banana P.S. http://www.libsdl.org/cgi/docwiki.cgi/SDL_GetT...