<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt; "><span>
<div class="p1">A snippet from Jaxl PHP library:</div><div class="p1">base64_encode(<span class="s1">"\x00"</span>.$user.<span class="s1">"\x00"</span>.$pass)</div></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; ">You can find exact details of implementation around line no. 155 here</div><div style="background-color: transparent; "><font size="2">https://github.com/abhinavsingh/JAXL/blob/v3.x/xmpp/xmpp_stream.php#L155</font></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; "> </div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt; ">--<br>Abhinav Singh,<br>Bangalore,
India<br>http://abhinavsingh.com<br></div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Yoni Elentok <elyoni@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> jdev@jabber.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, August 23, 2012 4:28 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [jdev] XML Gtalk handshake<br> </font> </div> <br>
<div id="yiv1650898804"><div dir="rtl"><div dir="ltr" style="">Then If i what to connect with SASL How i need to encode my user and password?</div><div dir="ltr" style=""> what i need to write between the user and password?</div><div dir="ltr" style=""><br>
</div><div dir="ltr" style="">in the book " " it say "(The Base64-decoded string is <0>alice<0>password—clearly Alice needs some instruc-</div><div dir="ltr">tion on best practices for information security.)"</div>
<div dir="ltr">what i need to write instead of <0>?</div><div dir="ltr"><br></div><div dir="ltr">thanks</div></div>
</div><br>_______________________________________________<br>JDev mailing list<br>Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>Unsubscribe: <a ymailto="mailto:JDev-unsubscribe@jabber.org" href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>_______________________________________________<br><br><br> </div> </div> </div></body></html>