是否有Go版本的“基于MD5的分组密码”?

I would like to implement a Go application that is going to send some private data to a server. The code on server is PHP and uses a "MD5-based block cipher". The PHP encrypt/decrypt code is here: http://www.jonasjohn.de/snippets/php/md5-based-block-cipher.htm

Is there an equivalent routine in Go?

It looks like that code is similar to the MDC algorithm which is a way of making a cipher from a hash function.

There are much better ciphers that that though - have a look in Go's crypto library.

If you are desperate to interoperate with that particular PHP code then you'll have to convert it to Go yourself I think, but if I had a choice I would choose a better cipher (something using AES).