Re: size of SHA1 output

2006-11-13 Thread Alexander A
Ofcourse :) Thanks alot for your help and time !! Grtz > Hello, >> SHA1((const unsigned char*)word,strlen(word), hashcode); >> result = strcpy(result,hashcode); >> >> printf("%i byte code generated\n> Result is now %i bytes >> long\n",strlen(hashcode),strlen(result)); >> >> while

size of SHA1 output

2006-11-12 Thread Alexander A
Hi, I'm currently working on my masterthesis and encounter the next problem with openssl. I want to generate a bitstring of a given size, constructed on a given word using SHA1 hash functions. Just by performing SHA1 on the word and concat to that with the SHA1 of the previous SHA1 result. for e