Exemple #1
0
            private short EncodeSeqBase()
            {
                short encSeq = (short)(cipher.version ^ (cipher.iv >> 16));

                cipher.AdvanceIV();
                return(encSeq);
            }
Exemple #2
0
            private short DecodeSeqBase(short encSeq)
            {
                short decSeq = (short)((cipher.iv >> 16) ^ encSeq);

                cipher.AdvanceIV();
                return(decSeq);
            }