MCPcopy Create free account
hub / github.com/bit4woo/ReSign / byteToString

Method byteToString

src/custom/CMD5.java:40–46  ·  view source on GitHub ↗
(byte[] bByte)

Source from the content-addressed store, hash-verified

38
39 // ת���ֽ�����Ϊ16�����ִ�
40 private static String byteToString(byte[] bByte) {
41 StringBuffer sBuffer = new StringBuffer();
42 for (int i = 0; i < bByte.length; i++) {
43 sBuffer.append(byteToArrayString(bByte[i]));
44 }
45 return sBuffer.toString();
46 }
47
48 public static String GetMD5Code(String strObj) {
49 String resultString = null;

Callers 1

GetMD5CodeMethod · 0.95

Calls 1

byteToArrayStringMethod · 0.95

Tested by

no test coverage detected