MD5/Implementation: Difference between revisions

Content deleted Content added
Updated F# implementation
Added link to original blog post for F# implementation.
Line 1,312: Line 1,312:


=={{header|F#}}==
=={{header|F#}}==
Pure functional implementation (slower than library function):
Pure functional implementation (slower than library function) ([https://znprojects.blogspot.com/2017/04/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)