MD5: Difference between revisions
Content added Content deleted
(Added PicoLisp) |
|||
Line 819: | Line 819: | ||
<lang php>$string = "The quick brown fox jumped over the lazy dog's back"; |
<lang php>$string = "The quick brown fox jumped over the lazy dog's back"; |
||
echo md5( $string );</lang> |
echo md5( $string );</lang> |
||
=={{header|PicoLisp}}== |
|||
Using the openssl library: |
|||
<lang PicoLisp>(let Str "The quick brown fox jumped over the lazy dog's back" |
|||
(pack |
|||
(mapcar hex |
|||
(native "libcrypto.so" "MD5" '(B . 16) Str (length Str) '(NIL (16))) ) ) )</lang> |
|||
Output: |
|||
<pre>-> "E38CA1D920C4B8B8D3946B2C72F01680"</pre> |
|||
=={{header|Pike}}== |
=={{header|Pike}}== |