nl_tokens: Function to calculate the SHA1 Hash for a buffer with a given offset and length
pl_tokens: function sha1 ( buffer , offset , length ) { offset = offset || 0 ; length = length || buffer . length ; var subArray = dicomParser . sharedCopy ( buffer , <mask> , length ) ; var rusha = new Rusha ( ) ; return rusha . digest ( subArray ) ; }