Jump to content

SHA-256: Difference between revisions

297 bytes added ,  10 years ago
no edit summary
(add Lua)
No edit summary
Line 908:
{{out}}
<pre>764faf5c61ac315f1497f9dfa542713965b785e5cc2f707d6468d7d1124cdfcf</pre>
 
=={{header|PicoLisp}}==
<lang picolisp>
(let Str "Rosetta code"
(pack
(mapcar '((B) (pad 2 (hex B)))
(native "libcrypto.so" "SHA256" '(B . 32) Str (length Str) '(NIL (32))) ) ) )
</lang>
{{out}}
<pre>
-> "764FAF5C61AC315F1497F9DFA542713965B785E5CC2F707D6468D7D1124CDFCF"
</pre>
 
=={{header|PHP}}==
298

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.