public static WidgetBlob getBlobById( String id ) {
return (WidgetBlob) _registry.get( id );
}
private static String md5Hash( byte[] bytes ) {
MD5Digest md5 = new MD5Digest();
md5.reset();
md5.update( bytes, 0, bytes.length );
return new String( convertToHexStr( md5.getDigest() ).getBytes() );
}