| 475 | } |
| 476 | |
| 477 | std::string CFunctions::EncryptString(std::string szIn, const size_t size, BYTE byKey) |
| 478 | { |
| 479 | BYTE pData[1024] = { 0 }; |
| 480 | strcpy((char*)pData, szIn.c_str()); |
| 481 | |
| 482 | EncryptBuffer(pData, size, byKey); |
| 483 | |
| 484 | std::string szOut = std::string(reinterpret_cast<const char*>(pData)); |
| 485 | return szOut; |
| 486 | } |
| 487 | std::string CFunctions::DecryptString(std::string szIn, const size_t size, BYTE byKey) |
| 488 | { |
| 489 | BYTE pData[1024] = { 0 }; |
nothing calls this directly
no test coverage detected