Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/CRC-32/Common-Lisp/crc-32.lisp
Normal file
8
Task/CRC-32/Common-Lisp/crc-32.lisp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(ql:quickload :ironclad)
|
||||
(defun string-to-digest (str digest)
|
||||
"Return the specified digest for the ASCII string as a hex string."
|
||||
(ironclad:byte-array-to-hex-string
|
||||
(ironclad:digest-sequence digest
|
||||
(ironclad:ascii-string-to-byte-array str))))
|
||||
|
||||
(string-to-digest "The quick brown fox jumps over the lazy dog" :crc32)
|
||||
Loading…
Add table
Add a link
Reference in a new issue