Re: Hash algorithm: C to Euphoria
- Posted by Davi Figueiredo <davitf at USA.NET> Dec 27, 1998
- 433 views
Hi Alan and all interested, Attached is an Euphoria include file which calculates the SHA-1 digest of a string. I didn't translate the C code posted, instead I followed the specification I found at http://www.nist.gov/itl/div897/pubs/fip180-1.htm . The reason I didn't try translating the code was that I know nothing about C (and don't want to learn it either). Anyway, it seems to work ok. If you think it's too slow, maybe someone can speed it up (if someone can understand the code). Regards, Davi Figueiredo davitf at usa.net ____________________________________________________________________ Get free e-mail and a permanent address at http://www.amexmail.com/?A=1