System.Security.Cryptography.CryptographicException: The input data is not a complete block

Не могу понять, с чем связана данная ошибка в Dispose.

System.AggregateException: One or more errors occurred. (The input data is not a complete block.) ---> System.Security.Cryptography.CryptographicException: The input data is not a complete block. at Internal.Cryptography.UniversalCryptoDecryptor.UncheckedTransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at Internal.Cryptography.UniversalCryptoTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.FlushFinalBlock() at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)

При этом при повторном запуске данная ошибка не возникает.


Ответы (0 шт):