protected static String getContentMD5(byte[] content) {
if ((content == null) || (content.length == 0)) {
return "00000000000000000000000000000000";
}
MD5 md5 = new MD5();
md5.Update(content);
return md5.asHex();
}
/**
* Gets MD5 key of document content.