Download ASDF package from http://www.cs.rice.edu/~froydnj/lisp/sb-sha1.tar.gz
It seems to be broken on newer sbcl versions (at least since 0.9.4) due to the missing function "bit-bash-copy". Does anyone know enough about this to fix it?
-- look through these logs (search for bit-bash).
Until this is fixed, Ironclad still works.
In fact you should probably use Ironclad anyway, it appears to be a *lot* faster. This is a ~700MB file on SBCL 0.9.6, Debian unstable, AthlonXP 3200+ 1GB:
CL-USER: (time (ironclad:digest-file :sha1 "/home/ssmith/tmp/t.avi")) Evaluation took: 21.804 seconds of real time 19.249205 seconds of user run time 1.828114 seconds of system run time 0 page faults and 8,777,264 bytes consed. #(129 170 192 245 70 37 78 19 14 226 67 161 95 171 181 71 80 52 232 121) CL-USER: (time (sha:sha1sum-file "/home/ssmith/tmp/t.avi")) Evaluation took: 235.08 seconds of real time 205.14482 seconds of user run time 26.581661 seconds of system run time 0 page faults and 32,291,296,560 bytes consed. #(129 170 192 245 70 37 78 19 14 226 67 161 95 171 181 71 80 52 232 121)'nuff said.
This page is linked from: SHA1
CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively