http://codepad.org/g4RBio8E
this line: .replace("TT", "0x" ~ text(T(n), 16)); Needs to be: .replace("TT", "0x" ~ to!string(T(n), 16));But the code in that link is all wrong because it needs all the code from std.md5 to work.
And even then I don't know where Decode() is. Bye, bearophile