Arc4CryptTests: Remove unused U8VecToStr helper function

This commit is contained in:
hashlag
2025-09-17 00:27:44 +03:00
parent 59ffa0e30b
commit 2d8fd283f6

View File

@@ -21,19 +21,6 @@ static std::vector<uint8_t> StrToU8Vec(const char * str)
return result;
}
static std::string U8VecToStr(const std::vector<uint8_t> & vec)
{
std::string result;
result.reserve(vec.size());
for (auto it = vec.begin(); it != vec.end(); ++it)
{
result.push_back(static_cast<char>(*it));
}
return result;
}
TEST(Arc4CryptTests, BasicTest)
{
const std::vector<uint8_t> key = StrToU8Vec("Secret");