| 174 | } |
| 175 | |
| 176 | void SHA1::Update(StringPiece sp) { |
| 177 | const uint8_t* buff = reinterpret_cast<const uint8_t*>(sp.data()); |
| 178 | Update(buff, sp.size()); |
| 179 | } |
| 180 | |
| 181 | // Run your data through this. |
| 182 | void SHA1::Update(const uint8_t* data, size_t input_len) { |