| 163 | */ |
| 164 | |
| 165 | ui8* MD5::Final(ui8 digest[16]) { |
| 166 | /* Do padding. */ |
| 167 | Pad(); |
| 168 | /* Store state in digest */ |
| 169 | memcpy(digest, State, 16); |
| 170 | /* Zeroize sensitive information. */ |
| 171 | Init(); |
| 172 | |
| 173 | return digest; |
| 174 | } |
| 175 | |
| 176 | char* MD5::End(char* buf) { |
| 177 | static const char hex[] = "0123456789abcdef"; |
no test coverage detected