Ray Kelly
2013-01-18 13:39:20 UTC
I am working on a project using bouncycastle in c#. Speed is crucial to what I am doing (every millisecond counts). I have a CFB8 stream
using AesFastEngine/No Padding. I have specific chunks that I do not care about
decrypting. I would like to know if there is any way to not decrypt a
chunk of data in the middle of my stream. So for instance:
100 bytes comes in, decrypt it
20,000 bytes comes in, do NOT decrypt it
100 bytes comes in, decrypt it
In
this scenario now, the 3rd chunk does not decode properly unless I
decode the 2nd chunk. I am pretty sure this is proper behavior, but I
am wondering if there is any way to code around this or get the cipher
back on track again. Thanks for your help!
Ray
using AesFastEngine/No Padding. I have specific chunks that I do not care about
decrypting. I would like to know if there is any way to not decrypt a
chunk of data in the middle of my stream. So for instance:
100 bytes comes in, decrypt it
20,000 bytes comes in, do NOT decrypt it
100 bytes comes in, decrypt it
In
this scenario now, the 3rd chunk does not decode properly unless I
decode the 2nd chunk. I am pretty sure this is proper behavior, but I
am wondering if there is any way to code around this or get the cipher
back on track again. Thanks for your help!
Ray