代码实现: import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.security.MessageDigest; public class MD5Util { static char hexdigits[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', '…