| 10 | |
| 11 | struct MD5Operator { |
| 12 | static void operation(string_t& operand, string_t& result, ValueVector& resultVector) { |
| 13 | MD5 hasher; |
| 14 | hasher.addToMD5(reinterpret_cast<const char*>(operand.getData()), operand.len); |
| 15 | StringVector::addString(&resultVector, result, std::string(hasher.finishMD5())); |
| 16 | } |
| 17 | }; |
| 18 | |
| 19 | function_set MD5Function::getFunctionSet() { |