I would think the built-in ByteArray.compress would be much faster than 5-10
seconds for a simple 100k string. But if it doesn't work, a really simple
method of encrypting a string is doing a bit-flip on each character ...
// your original string (try this out with large files)
var str:String =
I need a way to encrypt a LARGE string (up to 100k of text) - my data is
mostly xy coordinates so 90% numbers.
I've tried a few AS encryption classes that I've found online and
considering I have such a large string, they're all too slow. It doesn't
need to be too secure - decryption speed is
Why do you need to encrypt it? If you just need it unreadable, then why not
kill two birds with one stone and compress it?
http://www.razorberry.com/blog/archives/2004/08/22/lzw-compression-methods-in-as2/
On 8/16/07, Mick G [EMAIL PROTECTED] wrote:
I need a way to encrypt a LARGE string (up
I've tried different compressions classes - they're just too slow (even with
some I tried that throw chunks of data at the class in intervals, it still
took 5 - 10 seconds.
And yes the purpose is to make it unreadable.
I've written a very simple function that replaces the numbers 1 - 20 with
Tried Base64 encoding?
http://www.dynamicflash.com/goodies/base64
regards,
Muzak
I need a way to encrypt a LARGE string (up to 100k of text) - my data is
mostly xy coordinates so 90% numbers.
I've tried a few AS encryption classes that I've found online and
considering I have such a large
5 matches
Mail list logo