Hi Jeffrey Walton


Sorry I answered late.


std::filesystem::path _path { 
std::filesystem::u8path(filePath.toStdString()) };

std::string _path_string { _path.u8string() };

std::ifstream m_file(_path_string, std::ios::in);

FileSource f(m_file, true, new HashFilter(hash, new HexEncoder(new 
StringSink(digest)))); 



ERROR:


terminate called after throwing an instance of 
'CryptoPP::FileStore::ReadErr'

what(): FileStore: error reading file



-- 
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 cryptopp-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cryptopp-users/cb4562d6-7ea9-4b7c-9a6f-c280421fffc1n%40googlegroups.com.

Reply via email to