Re: Hash algorithm: C to Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu