[jdev] XML Gtalk handshake

Abhinav Singh abhinavsingh at ymail.com
Thu Aug 23 19:37:34 UTC 2012


A snippet from Jaxl PHP library:
base64_encode("\x00".$user."\x00".$pass)

You can find exact details of implementation around line no. 155 here
https://github.com/abhinavsingh/JAXL/blob/v3.x/xmpp/xmpp_stream.php#L155
 
--
Abhinav Singh,
Bangalore, India
http://abhinavsingh.com


________________________________
 From: Yoni Elentok <elyoni at gmail.com>
To: jdev at jabber.org 
Sent: Thursday, August 23, 2012 4:28 PM
Subject: Re: [jdev] XML Gtalk handshake
 

Then If i what to connect with SASL How i need to encode my user and password?
  what i need to write between the user and password?

in the book " " it say "(The Base64-decoded string is  <0>alice<0>password—clearly Alice needs some instruc-
tion on best practices for information security.)"
what i need to write instead of <0>?

thanks
_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe at jabber.org
_______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20120823/f3a36391/attachment.html>


More information about the JDev mailing list