public class MD5 extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
String |
bytes2string(byte[] bt) |
static MD5 |
getInstance() |
byte[] |
getMD5Bytes(byte[] content) |
String |
getMD5String(byte[] content) |
String |
getMD5String(String content) |
byte[] |
hash(byte[] data) |
byte[] |
hash(String str) |
byte[] |
string2bytes(String str) |
public static MD5 getInstance()
public String getMD5String(byte[] content)
public byte[] getMD5Bytes(byte[] content)
public byte[] hash(String str)
public byte[] hash(byte[] data)
public String bytes2string(byte[] bt)
public byte[] string2bytes(String str)
Copyright © 2016. All rights reserved.