private short EncodeSeqBase() { short encSeq = (short)(cipher.version ^ (cipher.iv >> 16)); cipher.AdvanceIV(); return(encSeq); }
private short DecodeSeqBase(short encSeq) { short decSeq = (short)((cipher.iv >> 16) ^ encSeq); cipher.AdvanceIV(); return(decSeq); }