Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void EncryptFileNames ( const boost::filesystem::path& p, const std::string& pw );
- int main ( int argc, char **argv ) // No checking
- {
- // Call with encrypt.exe c:tmp pässwörd
- boost::nowide::args a ( argc, argv ); // Fix arguments - make them UTF-8
- boost::filesystem::path p ( argv [ 1 ] );
- EncryptFileNames ( p, boost::locale::normalize ( argv [ 2 ], boost::locale::norm_nfc, std::locale ( ) ) );
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement