MD5 computes an MD5 checksum from an analysis objects. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: MD5 computes an MD5 checksum from an analysis objects. CALL: h = md5(a) INPUTS: a - input analysis object OUTPUTS: h - md5 hash VERSION: $Id: eq.m,v 1.4 2007/08/29 18:46:02 hewitson Exp $ HISTORY: 15-09-2007 M Hewitson Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function h = md5(a) 0002 % MD5 computes an MD5 checksum from an analysis objects. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: MD5 computes an MD5 checksum from an analysis objects. 0007 % 0008 % CALL: h = md5(a) 0009 % 0010 % INPUTS: a - input analysis object 0011 % 0012 % OUTPUTS: h - md5 hash 0013 % 0014 % VERSION: $Id: eq.m,v 1.4 2007/08/29 18:46:02 hewitson Exp $ 0015 % 0016 % HISTORY: 15-09-2007 M Hewitson 0017 % Creation 0018 % 0019 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0020 0021 0022 x = xml(a); 0023 h = ltpda_hash(xmlwrite(x.docNode), 'MD5'); 0024