Мой код для шифрования текстового файла:
Код: Выделить всё
void encryptFile(const std::string& inputFile, const std::string& outputFile, const RSAKey& public_key) {
std::ifstream input(inputFile);
if (!input.is_open()) {
std::cerr
Подробнее здесь: [url]https://stackoverflow.com/questions/78297653/boostmultiprecisionpowm-problem-with-big-integers[/url]
Мобильная версия