Silly Ascii Compressor with Javascript Expander.

v0.1.2


Description:

SACJE, the Silly Ascii Compressor with Javascript Expander is capable of compressing ASCII text that contains enough repetition. It produces a Javascript code snippet that, when executed, creates a variable 'c' that contains the original data.

SACJE uses a very silly algorithm that randomly searches the input data for repetition. For this reason the output may be different every time the same data is compressed.

If you want to see some extra output try this: debug


Limitations:

  • Maximum input size is 10kB. Download the source code and change the limit on the local installation if you need more.
  • There must be at least 2 unused alphanumeric characters in the input data.

Applications:

  • Compress JavaScript. Simply append "eval(c);" at the end of the generated code to execute the original JS.
  • Can be used to store large amounts of text that will only be shown to users with JavaScript turned on.

Input (must be ASCII):

Output (with some luck will also be ASCII):

in 0 out 92 ratio 0

compression time: 0.06 seconds
1


Download:

If you have access to a web server with PHP, you can get the source code here:
http://www.placella.com/software/sacje/sacje-0.1.2.tar.gz


Comments:

No comments have been provided.

Leave a comment
Your Name:
Your Location:
Vote:
Your Comment:

Security check *

security image