[mapserver-users] msencrypt - tea algorithmos
Andreas Douvalis
anddreas2 at yahoo.gr
Tue Jan 3 10:07:26 PST 2012
Hi
I try to implement one
php script to produce encrypted string for maps connections strings like msencrypt tool creates.
In my MS_ENCRYPTION_KEY I have
the 32 chars key created by msencrypt.exe (ms4w-mapserver 6).
TEA algorithm needs one 16-chars
password to encrypt the string. How msencrypt works? How produce the 16-chars
password from 32-chars key?
Has anybody implemented successfully php code (or other language) for the
production of the encoded string that msencrypt tool creates?
I found in this page (http://www.movable-type.co.uk/scripts/tea.html) one javascript implementation of xtea encryption but firstly it takes 16-chars password and secondly is xtea.
Can I use MCRYPT_XTEA module of
php to produce the encoded string that msencrypt tool creates?
Please Help!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120103/c373af9f/attachment.htm>
More information about the MapServer-users
mailing list