Just wondering if there was any headway with cross-platform, or any successful examples I can reproduce?
On Monday, May 16, 2016 at 11:55:03 AM UTC-4, aeh wrote: > > 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 "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users. --- 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.
