anyone here got a function to find is a string is base64 encoded?

Dar Scott dsc at swcp.com
Sat Jul 24 23:56:47 EDT 2004


On Jul 24, 2004, at 9:06 PM, Mark Brownell wrote:

> Is there any chance that a known word or number is present in the 
> string?
> You can just go ahead and use base64Decode on it to see if offSet() 
> finds
> that known word or number before deciding to use the test decode or 
> not.

Yeah, I agree.  You need to be able to see some pattern.  In general, 
it can't be done.  Consider "ABCD".  Is it base64?  Hard to tell.

Dar Scott




More information about the use-livecode mailing list