| 110 | } |
| 111 | |
| 112 | std::string SHA1::toString(const SHA1::MD& sha1) |
| 113 | { |
| 114 | std::stringstream ss; |
| 115 | ss << std::hex << std::setfill('0') << std::setw(2); |
| 116 | for (auto c : sha1) |
| 117 | ss << (int)c; |
| 118 | return ss.str(); |
| 119 | } |
| 120 | |
| 121 | void SHA1::addByte(uint8_t byte) |
| 122 | { |
no outgoing calls
no test coverage detected