示例#1
0
        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];
        }
        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];
        }