CryptEncrypt() API

坚强是说给别人听的谎言 提交于 2019-12-11 06:13:25

问题


is it normal to get the junk bytes at end of buffer when this function returns?


回答1:


If you're using a block cipher, it's normal for the output to be padded to a multiple of the block size. With a stream cipher, the result will normally be exactly the same length as the input.



来源:https://stackoverflow.com/questions/1591070/cryptencrypt-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!