Which char is NOT in result MD5Digest
claudi.c at fiberworld.nl
Mon Apr 5 03:45:13 CDT 2010
Hi Richard and Dave,
Thanks for the answers. It works like a charm.
Not something I would have found in a long long time.
Anyway back to coding again.
On 3 apr 2010, at 17:28, Richard Gaskin wrote:
> Claudi Cornaz wrote:
>> Is there a character that won't be in the result of the MD5Digest?
>> I try to ceate a list of control id's a comma and the MD5Digest of
>> script of that control.
>> Unfortunatly the cr character can be part of the resulting MD5 thus
>> throwing of my lines with a part of the MD5.
>> Now of course I can replace the cr but which char to use? I need one
>> that for sure isn't returned by the MD5.
>> Or differently: how can I keep my control id's and corresponding MD5
>> seperated from each other in a list, to get at each in turn?
> If you can deal with a string that's a bit longer, you could base64-
> encode the MD5 digest:
> put base64Encode(md5Digest(tMyString))
> That'll result in a string using only a relatively small subset of
> ASCII characters, leaving most common delimiters (commas, tabs,
> etc.) free for you to use however you like.
> Richard Gaskin
> Fourth World
> Rev training and consulting: http://www.fourthworld.com
> Webzine for Rev developers: http://www.revjournal.com
> revJournal blog: http://revjournal.com/blog.irv
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode