RNCryptor / RNCryptor-cpp

C++ implementation of Rob Napier's RNCryptor
MIT License
13 stars 9 forks source link

Update rnencryptor.cpp #1

Closed rockzhuang closed 10 years ago

rockzhuang commented 10 years ago

There is a bug when generating IV. If not setting a '\0' at the end, it gets more bytes then expected. Being verified with RNCryptor on Mac and Windows, it works.

curtisdf commented 10 years ago

Thanks rockzhuang!