sharplispers / ironclad

A cryptographic toolkit written in Common Lisp
BSD 3-Clause "New" or "Revised" License
166 stars 28 forks source link

The function ironclad::|sha256-regs-a| is undefined. #68

Closed mooseyboots closed 6 months ago

mooseyboots commented 6 months ago

i get this error when trying to use digest-sequence with :sha256. ironclad/digests is loaded.

e.g. function (from https://www.cliki.net/Ironclad):

(defun hash-password (password)
  (ironclad:byte-array-to-hex-string 
   (ironclad:digest-sequence 
    :sha256
    (ironclad:ascii-string-to-byte-array password))))

using :md5 works, and the actual function itself can be called manually as ironclad::sha256-regs-a).

i have also tried setting *print-case* to :upcase to no avail.

throw me a bone?

mooseyboots commented 6 months ago

looks like this was due to an older version on quicklisp.