Plaster
New
List
Login
common-lisp
default
anonymous
2021.05.21 15:00:31
CL-USER> (alexandria:write-string-into-file "foo bar baz " #p"/tmp/shatest") "foo bar baz " CL-USER> (ironclad:digest-file 'ironclad:sha256 #p"/tmp/shatest") #(246 242 74 17 215 203 187 198 217 68 10 202 46 186 15 100 152 117 92 169 10 222 161 76 94 35 59 244 192 75 217 40) CL-USER> (ironclad:digest-sequence 'ironclad:sha256 (babel:string-to-octets "foo bar baz ")) #(246 242 74 17 215 203 187 198 217 68 10 202 46 186 15 100 152 117 92 169 10 222 161 76 94 35 59 244 192 75 217 40)
Raw
Annotate
Repaste
Edit