Decrypt() публичный Метод

public Decrypt ( byte inputBuffer, int inputOffset, byte outputBuffer, int outputOffset ) : void
inputBuffer byte
inputOffset int
outputBuffer byte
outputOffset int
Результат void
Пример #1
0
        public byte[] Decrypt(byte[] data)
        {
            byte[] outdata = new byte[data.Length];

            for (int i = 0; i < data.Length; i += BLOCK_SIZE)
            {
                engine.Decrypt(data, i, outdata, i);
            }

            return(PKCS5Padding.UnPad(outdata, BLOCK_SIZE));
        }
Пример #2
0
 public void Decrypt(byte[] inputBuffer, int inputOffset, byte[] outputBuffer, int outputOffset)
 {
     _ariaEngine.Decrypt(inputBuffer, inputOffset, outputBuffer, outputOffset);
 }