question: private boolean verifyLogRecord ( String [ ] record , int macPos ) throws Exception { StringBuilder data = new StringBuilder ( ) ; for ( int m = 0 ; m < record . length - 2 ; m ++ ) { data . append ( record [ m ] ) ; } curMAC = record [ macPos ] ; verified = helper . verifyMAC ( data . toString ( ) , helper . toByteArray ( curMAC ) ) ; return verified ; }
target:  Verifies the passed LogRecord to check for tampering.