| 795 | } |
| 796 | |
| 797 | std::string cmInstrumentation::ComputeSuffixHash( |
| 798 | std::string const& command_str) |
| 799 | { |
| 800 | cmCryptoHash hasher(cmCryptoHash::AlgoSHA3_256); |
| 801 | std::string hash = hasher.HashString(command_str); |
| 802 | hash.resize(20, '0'); |
| 803 | return hash; |
| 804 | } |
| 805 | |
| 806 | std::string cmInstrumentation::ComputeSuffixTime( |
| 807 | cm::optional<std::chrono::system_clock::time_point> time) |
no test coverage detected