MCPcopy Create free account
hub / github.com/crossuo/crossuo / Encrypt

Method Encrypt

src/Crypt/md5.cpp:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void 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
100void MD5Crypt::process(md5_state *pms, const unsigned char *data)
101{

Callers 1

EncryptFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected