| 90 | } |
| 91 | |
| 92 | void MD5Crypt::Encrypt(const unsigned char *in, unsigned char *out, int len) |
| 93 | { |
| 94 | for (int i = 0; i < len; i++) |
| 95 | { |
| 96 | out[i] = in[i] ^ m_digest[m_tableIdx++ % 16]; |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | void MD5Crypt::process(md5_state *pms, const unsigned char *data) |
| 101 | { |