Use _wfopen_s and specify "b" for the third (mode) argument (for both of writing and reading procedures).
If still does not work, show more details, or maybe prepare a simple project that demonstrates the issue (on OneDrive, etc.).
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have an application which does encryption , the library which I used is bcrypt.h . After the encryption, I'll be saving this cipher text to a file. A part of the cipher text look like this
1]Ž�làk¨äéôòÝ´?ØíEçùdª9øÎCÈÎýéqÌH8ÃÇ›}coD#y“¡7”
The problem is that , when I'm reading this cipher text for decryption , the entire cipher text string is not reading properly .
Please suggest me some method for reading this encrypted test
I've tried _wfopen_s() method and ifstream() etc.
The application is written in c++
Use _wfopen_s and specify "b" for the third (mode) argument (for both of writing and reading procedures).
If still does not work, show more details, or maybe prepare a simple project that demonstrates the issue (on OneDrive, etc.).
tried converting encrypt text to hex . But while reading the hex , string variable doesn't hold the whole text