That looks like a better way to go because it will also pad the binary with the proper amount of zeros.
-=>JB<=- On Jan 2, 2012, at 11:14 AM, gpb01 wrote: > > Bryan McCormick wrote >> >> I have seen a number of sites that use a text to binary digits converter >> for simple encryption. Such that "this is my text" would be written as >> "011101000110100001101001011100110010000001101001011100110010000001101101011110010010000001110100011001010111100001110100" >> ... >> > > You can easily use the *binaryDecode()* and *binaryEncode()* functions ... > .. see the "dictionary" > > Guglielmo > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Scripting-a-text-to-binary-digits-converter-tp4254072p4254238.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
