winapi - CryptEncrypt() API -


Getting a junk byte at the end of the buffer is normal when this function returns?

If you are using a block cipher, then it is normal that one of the block size Could be more padded. With a stream cipher, the result will usually be the same as the input.


Comments