MCPcopy Create free account
hub / github.com/balloonwj/TeamTalk / encode

Method encode

php/system/libraries/Encrypt.php:122–128  ·  view source on GitHub ↗

* Encode * * Encodes the message string using bitwise XOR encoding. * The key is combined with a random hash, and then it * too gets converted using XOR. The whole thing is then run * through mcrypt using the randomized key. The end result * is a double-encrypted message string that is randomized * with each call to this function, even if the supplied * message and key are the same

($string, $key = '')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_set_cookieMethod · 0.45
envMethod · 0.45

Calls 3

get_keyMethod · 0.95
mcrypt_encodeMethod · 0.95
base64_encodeFunction · 0.50

Tested by

no test coverage detected