Update rnencryptor.cpp
Update rnencryptor.cpp

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.
RNCryptor/RNCryptor-cpp