Jan Jezabek | 22 Jul 15:43
Picon

Place to put SHA1 implementation

Hi,

I will need to make use of SHA1 for generating GUIDs if the users don't 
specify their own ones. Should I put it in some place where it can be 
reused by other modules or should I just leave it inside com.cxx?

Thanks,
Jan Jezabek

--

-- 
My GSoC 2008 development blog: http://jezabekgsoc.wordpress.com/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
William S Fulton | 25 Jul 23:01
Picon

Re: Place to put SHA1 implementation

Jan Jezabek wrote:
> Hi,
> 
> I will need to make use of SHA1 for generating GUIDs if the users don't 
> specify their own ones. Should I put it in some place where it can be 
> reused by other modules or should I just leave it inside com.cxx?
> 

Yes, it could be useful outside of COM. If it is not too long put it 
into misc.c. If it contains a number of functions create a new file.

William

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane