nl_tokens: / * Decrypt encrypted data block of keyword index ( attrs . Encrypted = 2 ) .
pl_tokens: function decrypt ( buf , <mask> ) { key = ripemd128 . ripemd128 ( key ) ; var byte , keylen = key . length , prev = 0x36 , i = 0 , len = buf . length ; for ( ; i < len ; i ++ ) { byte = buf [ i ] ; byte = ( ( byte >> 4 ) | ( byte << 4 ) ) ; // & 0xFF;  <-- it's already a byte byte = byte ^ prev ^ ( i & 0xFF ) ^ key [ i % keylen ] ; prev = buf [ i ] ; buf [ i ] = byte ; } return buf ; }