[gambit-list] SHA1 in Gambit
|/|/ Bendick
wbendick at gmail.com
Tue Dec 5 00:16:27 EST 2006
Anyone have (or know of) an efficient way of getting a sha1 digest of
some data in gambit?
All I could find was
http://www-pu.informatik.uni-tuebingen.de/users/knauel/sw/myscsh/sha1.scm
which (after minor hacking) can do:
(time (sha1-hash-byte-vector (make-u8vector 1000000)))
301187 ms real time
135097 ms cpu time (130412 user, 4685 system)
25815 collections accounting for 108377 ms real time (46618 user,
1795 system)
3598449540 bytes allocated
no minor faults
no major faults
1090135108572819471271096978636225236080936489142
Way too slow for even moderately large data. Can anyone help?
--
|/|/ Bendick
More information about the Gambit-list
mailing list