MD5: Difference between revisions
Content added Content deleted
(added Ol) |
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
||
Line 197: | Line 197: | ||
<pre>e38ca1d920c4b8b8d3946b2c72f01680</pre> |
<pre>e38ca1d920c4b8b8d3946b2c72f01680</pre> |
||
⚫ | |||
⚫ | |||
{{AutoHotkey case}} |
{{AutoHotkey case}} |
||
===Regular version=== |
===Regular version=== |
||
Line 293: | Line 292: | ||
}</lang> |
}</lang> |
||
⚫ | |||
=={{header|BaCon}}== |
=={{header|BaCon}}== |
||
<lang freebasic> |
<lang freebasic> |
||
Line 314: | Line 312: | ||
NEXT</lang> |
NEXT</lang> |
||
=={{ |
=={{header|BASIC}}== |
||
⚫ | |||
{{works with|BBC BASIC for Windows}} |
{{works with|BBC BASIC for Windows}} |
||
See [[MD5/Implementation]] for a native version. |
See [[MD5/Implementation]] for a native version. |
||
Line 504: | Line 504: | ||
return 0; |
return 0; |
||
}</lang> |
}</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|C++}}== |
=={{header|C++}}== |
||
Line 531: | Line 539: | ||
e38ca1d920c4b8b8d3946b2c72f01680 ! |
e38ca1d920c4b8b8d3946b2c72f01680 ! |
||
</pre> |
</pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Caché ObjectScript}}== |
=={{header|Caché ObjectScript}}== |
||
Line 747: | Line 747: | ||
md5+to-string type cr</lang> |
md5+to-string type cr</lang> |
||
=={{header|Fortran}}== |
=={{header|Fortran}}== |
||
===Intel Fortran on Windows=== |
===Intel Fortran on Windows=== |
||
Line 1,030: | Line 1,031: | ||
{{out}} |
{{out}} |
||
<pre>e38ca1d920c4b8b8d3946b2c72f01680</pre> |
<pre>e38ca1d920c4b8b8d3946b2c72f01680</pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Icon}} and {{header|Unicon}}== |
=={{header|Icon}} and {{header|Unicon}}== |
||
Line 1,061: | Line 1,053: | ||
Message(length=0) = "" |
Message(length=0) = "" |
||
Digest = D41D8CD98F00B204E9800998ECF8427E matches reference hash</pre> |
Digest = D41D8CD98F00B204E9800998ECF8427E matches reference hash</pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|J}}== |
=={{header|J}}== |
||
Line 2,288: | Line 2,289: | ||
$md5->add("The quick brown fox jumped over the lazy dog's back"); |
$md5->add("The quick brown fox jumped over the lazy dog's back"); |
||
print $md5->hexdigest, "\n";</lang> |
print $md5->hexdigest, "\n";</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
Line 2,394: | Line 2,390: | ||
#"57edf4a22be3c955ac49da2e2107b67a" |
#"57edf4a22be3c955ac49da2e2107b67a" |
||
</pre> |
</pre> |
||
⚫ | |||
(formerly Perl 6) |
|||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|REBOL}}== |
=={{header|REBOL}}== |
||
Line 2,537: | Line 2,539: | ||
out = 57EDF4A22BE3C955AC49DA2E2107B67A |
out = 57EDF4A22BE3C955AC49DA2E2107B67A |
||
</pre> |
</pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|RLaB}}== |
=={{header|RLaB}}== |
||
Line 2,550: | Line 2,558: | ||
>> hash("md5", x) |
>> hash("md5", x) |
||
e38ca1d920c4b8b8d3946b2c72f01680</lang> |
e38ca1d920c4b8b8d3946b2c72f01680</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|RPG}}== |
=={{header|RPG}}== |
||
Line 2,682: | Line 2,684: | ||
} |
} |
||
</lang> |
</lang> |
||
=={{header|S-lang}}== |
=={{header|S-lang}}== |