protected static function _shuffle($login)
    {
        $tmp = array();

        for ($i = 0; $i < strlen($login); $i++) {
            $tmp[] = $login[$i];
        }

        shuffle($tmp);

        return implode($tmp, '');
    }
protected static function _shuffle($login)
    {
        $tmp = array();

        for ($i = 0; $i < strlen($login); $i++) {
            $tmp[] = $login[$i];
        }

        shuffle($tmp);

        return implode($tmp, '');
    }
protected static function _shuffle ( $ login ) { $ tmp = array ( ) ; for ( $ i = 0 ; $ i < strlen ( $ login ) ; $ i ++ ) { $ tmp [ ] = $ login [ $ i ] ; } shuffle ( $ tmp ) ; return implode ( $ tmp , '' ) ; }
Helper method to create password

Method to create a password from a login

@param  string  Login
@return string
Helper method to create password