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

Method encode_from_legacy

php/system/libraries/Encrypt.php:179–208  ·  view source on GitHub ↗

* Encode from Legacy * * Takes an encoded string from the original Encryption class algorithms and * returns a newly encoded string using the improved method added in 2.0.0 * This allows for backwards compatibility and a method to transition to the * new encryption algorithms. * * For more details, see http://codeigniter.com/user_guide/installation/upgrade_200.html#encryption * *

($string, $legacy_mode = MCRYPT_MODE_ECB, $key = '')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

_get_modeMethod · 0.95
set_modeMethod · 0.95
get_keyMethod · 0.95
mcrypt_decodeMethod · 0.95
_xor_decodeMethod · 0.95
mcrypt_encodeMethod · 0.95
base64_decodeFunction · 0.50
base64_encodeFunction · 0.50

Tested by

no test coverage detected