MD5/Implementation: Difference between revisions
Content added Content deleted
SqrtNegInf (talk | contribs) m (→{{header|Sidef}}: Fix link: Perl 6 --> Raku) |
(Update link to F# implementation) |
||
Line 1,340: | Line 1,340: | ||
=={{header|F#}}== |
=={{header|F#}}== |
||
Pure functional implementation (slower than library function) (Link to original blog [https:// |
Pure functional implementation (slower than library function) (Link to original blog [https://zakaluka.github.io/2017/04/23/md5-in-f-functionally.html]): |
||
<lang F#>let fxyz x y z : uint32 = (x &&& y) ||| (~~~x &&& z) |
<lang F#>let fxyz x y z : uint32 = (x &&& y) ||| (~~~x &&& z) |
||
let gxyz x y z : uint32 = (z &&& x) ||| (~~~z &&& y) |
let gxyz x y z : uint32 = (z &&& x) ||| (~~~z &&& y) |