Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/SHA-256/Common-Lisp/sha-256.lisp
Normal file
7
Task/SHA-256/Common-Lisp/sha-256.lisp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(ql:quickload 'ironclad)
|
||||
(defun sha-256 (str)
|
||||
(ironclad:byte-array-to-hex-string
|
||||
(ironclad:digest-sequence :sha256
|
||||
(ironclad:ascii-string-to-byte-array str))))
|
||||
|
||||
(sha-256 "Rosetta code")
|
||||
Loading…
Add table
Add a link
Reference in a new issue