From: Pascal J. Bourguignon on 27 Dec 2009 19:50 Art <artobrezan(a)yahoo.com> writes: >> Skimming it, it occurred to me that there might be another bug: >> formatting the SHA1 hash incorrectly. �Use ~8,'0X rather than ~X. > > Thanks! (let ((digest '(1 2 3 4 5))) (format nil "~{~8,'0X~}" digest)) --> "0000000100000002000000030000000400000005" -- __Pascal Bourguignon__ http://www.informatimago.com/ |