Jeffrey Walton <noloader <at> gmail.com> writes: > > > C++ fstreams can be problematic, even in binary mode. I seem to recall there was some unwanted conversions going on, and I had to disable the processing of whitespace for a time. Microsoft fstreams can be problematic, especially when they are wide streams.First, ensure the fstreams are behaving as expected. Second, verify the password is expected. There's a difference between encodings, code pages and UTF-8. For password presentation to a lower lay like crypto, always use UTF-8 because its portable across all platforms.Jeff > > > > >
Thanks for the help. I posted a modified crypto example at http://stackoverflow.com/q/37163270/5099723. It looks like fstream is ok. Could you offer a simple cross platform example? Cheers. -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
