md5的代码报错,请问错在哪里?
先谢谢了!。。。。。
报错如下:
1.byteHEX
提示:The method byteHEX(byte) in the type MD5Code is not applicable for the arguments (byte
[])
2.output[j] = (byte)(input & 0xffL);
output[j + 1] = (byte)((input >> 8) & 0xffL);
output[j + 2] = (byte)((input >> 16) & 0xffL);
output[j + 3] = (byte)((input >> 24) & 0xffL);
提示:The operator & is undefined for the argument type(s) long[], long
3.output = b2iu(input[j]) |
(b2iu(input[j + 1]) << 8) |
(b2iu(input[j + 2]) << 16) |
(b2iu(input[j + 3]) << 24);
提示:Type mismatch: cannot convert from long to long[]