| 283 | } |
| 284 | |
| 285 | std::string cmFileAPI::ComputeSuffixHash(std::string const& file) |
| 286 | { |
| 287 | cmCryptoHash hasher(cmCryptoHash::AlgoSHA3_256); |
| 288 | std::string hash = hasher.HashFile(file); |
| 289 | hash.resize(20, '0'); |
| 290 | return hash; |
| 291 | } |
| 292 | |
| 293 | std::string cmFileAPI::ComputeSuffixTime(std::string const&) |
| 294 | { |