array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.radius-demangle-mppe-key.php', 1 => 'radius_demangle_mppe_key', ), 'up' => array ( 0 => 'ref.radius.php', 1 => 'Radius Functions', ), 'prev' => array ( 0 => 'function.radius-cvt-string.php', 1 => 'radius_cvt_string', ), 'next' => array ( 0 => 'function.radius-demangle.php', 1 => 'radius_demangle', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/radius/functions/radius-demangle-mppe-key.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL radius >= 1.2.0)
radius_demangle_mppe_key — Derives mppe-keys from mangled data
When using MPPE with MS-CHAPv2, the send- and recv-keys are mangled (see » RFC 2548), however this function is useless, because I don't think that there is or will be a PPTP-MPPE implementation in PHP.
radius_handle
The RADIUS resource.
mangled
The mangled data to demangle
Returns the demangled string, or false
on error.