MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / Udecrypt_byte

Function Udecrypt_byte

src/Setup/unzip.cpp:2213–2216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2211 keys[2] = CRC32(keys[2], keys[1] >> 24);
2212}
2213char Udecrypt_byte(unsigned long *keys)
2214{ unsigned temp = ((unsigned)keys[2] & 0xffff) | 2;
2215 return (char)(((temp * (temp ^ 1)) >> 8) & 0xff);
2216}
2217char zdecode(unsigned long *keys, char c)
2218{ c^=Udecrypt_byte(keys);
2219 Uupdate_keys(keys,c);

Callers 1

zdecodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected