A last question before bed...

Mark Waddingham 36degrees at runrev.com
Sun Sep 25 18:11:11 EDT 2005


> How do I reverse the following operation:
> 
>       get binaryDecode("H*", someBinaryData, tHexDigest)
> 
> With binaryEncode:

Try:
  put binaryEncode("H*", tHexDigest) into someBinaryData

> So I have two questions - why is:
> 
>        get binaryDecode("H*", someBinaryData, tHexDigest)
> 
> better than using:
> 
>      put base64Encode(someBinaryData) into someText
> 
> If i am thinking of using the resulting text as a file name? Output  
> can include "+, /, and =" - but that is OK no?

I think the path-separator '/' might cause you some difficulties :o)

Warmest Regards,

Mark.

------------------------------------------------------------------
 Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com
       Runtime Revolution ~ User-Centric Development Tools




More information about the use-livecode mailing list