search for: outercmb

Displaying 1 result from an estimated 1 matches for "outercmb".

2010 Oct 19
0
R script help needed for RFC 2104 HMAC algorithm
...se='') OuterXORhex <- cbind(OuterXORbin, sapply(OuterXORbin, function(x) paste(hex[x], collapse='') )) OuterXORhex <- t(matrix(OuterXORhex[,2],2,64)) OuterXORhex <- apply(OuterXORhex, 1, paste, collapse='') OuterXORhex <- paste(OuterXORhex, collapse='') outercmb <- paste(OuterXORhex, InnerHash, sep="") HMAC_MD5 <- digest(outercmb, algo="md5") ######## should equal the digest example above [[alternative HTML version deleted]]