コード例 #1
0
ファイル: Dstu7624WrapEngine.cs プロジェクト: 894880010/MP
        public Dstu7624WrapEngine(int blockSizeBits)
        {
            engine = new Dstu7624Engine(blockSizeBits);
            param  = null;

            blockSize = blockSizeBits / 8;
        }
コード例 #2
0
        public Dstu7624WrapEngine(int blockSizeBits)
        {
            engine = new Dstu7624Engine(blockSizeBits);
            param  = null;

            blockSize = blockSizeBits / 8;
            buffer    = new byte[blockSize];

            intArray = new byte[BYTES_IN_INTEGER];

            checkSumArray = new byte[blockSize];
            zeroArray     = new byte[blockSize];
        }
コード例 #3
0
        public Dstu7624WrapEngine(int blockSizeBits, int keySizeBits)
        {
            engine = new Dstu7624Engine(blockSizeBits, keySizeBits);
            param  = null;

            blockSize = blockSizeBits / 8;
            buffer    = new byte[blockSize];
            B         = new byte[blockSize / 2];
            bTemp     = new List <byte[]>();

            intArray = new byte[BYTES_IN_INTEGER];

            checkSumArray = new byte[blockSize];
            zeroArray     = new byte[blockSize];
        }