<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; ">Hi<o:p></o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; "><o:p>&nbsp;</o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; ">I try to&nbsp;implement one
php script to produce encrypted string for maps connections strings like&nbsp;</span><span style="font-family: Arial, sans-serif; font-size: 10pt; ">msencrypt tool creates</span><span style="font-family: Arial, sans-serif; font-size: 10pt; background-color: white; ">.</span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; "><o:p>&nbsp;</o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; ">In my MS_ENCRYPTION_KEY I have
the 32 chars key created by&nbsp;
msencrypt.exe (ms4w-mapserver 6).<o:p></o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; "><o:p>&nbsp;</o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; ">TEA algorithm needs one 16-chars
password to encrypt the string. How&nbsp;
msencrypt&nbsp;&nbsp;works? How produce the 16-chars
password from 32-chars key? <o:p></o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; "><o:p>&nbsp;</o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; ">Has anybody implemented successfully
&nbsp;php code (or other language) &nbsp;for &nbsp;the
production of the encoded string&nbsp;</span><span style="font-family: Arial, sans-serif; font-size: 10pt; ">that msencrypt tool creates</span><span style="font-family: Arial, sans-serif; font-size: 10pt; background-color: white; ">? </span><span style="font-family: Arial, sans-serif; font-size: 10pt; background-color: white; ">&nbsp;</span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; "><o:p>&nbsp;</o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; ">I found in this page (</span><a href="http://www.movable-type.co.uk/scripts/tea.html"><span lang="EN-US">http://www.movable-type.co.uk/scripts/tea.html</span></a><span lang="EN-US">) one </span><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; ">javascript implementation of xtea encryption &nbsp;but&nbsp;
firstly it takes 16-chars password and secondly is xtea.&nbsp;<o:p></o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; "><o:p>&nbsp;</o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; ">Can I use MCRYPT_XTEA module of
php to produce the encoded string that msencrypt tool creates?<o:p></o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; "><o:p>&nbsp;</o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif; ">Please Help!!!&nbsp; <o:p></o:p></span></div>

<div class="MsoNormal" style="font-family: arial, helvetica, sans-serif; "><span lang="EN-US"><o:p>&nbsp;</o:p></span></div></div></div></body></html>