static
| 68 | |
| 69 | // static |
| 70 | SHA1::Hash SHA1::CalculateForString(std::string_view str) |
| 71 | { |
| 72 | boost::uuids::detail::sha1 sha1; |
| 73 | sha1.process_bytes(str.data(), str.size()); |
| 74 | return ExtractHash(sha1); |
| 75 | } |
| 76 | } // namespace coding |
nothing calls this directly
no test coverage detected