Check out our Angular Book Series.

ASCrypt3 code works in Flex 2.0.1

I just did some testing of ASCrypt3 in Flex 2.0.1. Everything seems to be working as expected.

The allusive LZW script started throwing an error (as opposed to returning no results and just not working). Aside from that, I still wasn't able to get it working.

However, I did go back to one of the sources used for the ASCrypt LZW class. I was able to get the source working ( I named it LZW_RazorBerry ). The interesting thing about this implementation is that it allows you to output an XML safe string.

I added this to the readme (once I update the file), but I felt the need to say that I never verified any of the algorithms, only converted them. I am not an encryption expert.

Update File updated, you can download here

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
kukukuan's Gravatar I believe the LZW version is buggy, you use "String.fromCharCode" without checking.
If the string is big enough, it is possible to see one million words in the dictionary, but what will "String.fromCharCode(1000000)" return?

I believe the compression function should be recursive
# Posted By kukukuan | 5/14/07 10:33 AM
Jeffry Houser's Gravatar According to my most recent release notes, LZW doesn't work in the latest rendition. I'm not sure how up to date my local copy is with the 'uploaded' copy, though.

I did experiment with a conversion from an alternate source . If you are able to address the issues and get them working, let me know.
# Posted By Jeffry Houser | 5/15/07 12:29 AM
All Content Copyright 2005, 2006, 2007, 2008, 2009 Jeffry Houser. May not be reused without permission
BlogCFC was created by Raymond Camden. This blog is running version