VBScript Encoder

VBScript Encoder encodes plain text into a variety of formats.
  • Ascii to binary — Binary representation may use 1's and 0's or alternate characters. A special 1 to 2 bit encoding was devised for using spaces as a low bit for display in HTML. (HTML shows consecutive spaces as a single space, thus rendering an encoded stream useless.)

    The following mapping is used:
    	1 => 11 => ..
    	0 => 10 => .
    	
    Thus, I had a resulting datastream with never two consecutive spaces at the expense of doubling the bandwidth.
  • Morse — A simple morse code encoder/decoder. Morse code is a lossy translation. You lose character case and spaces. It is, however, an efficient representation of information.
  • Static Huffman Encoder / Decoder — Using the Ascii to binary conversion described above produces a sizable bit stream, especially with the 1 to 2 bit conversion. I created a Static Huffman Encoder / Decoder that is 20 to 50% more efficient depending upon the text presented. The Static Huffman Encoder/Decoder is written entirely in VBScript running as Active Server Pages on IIS.

    For more information on the Static Huffman Encoder/Decoder, click here.
  • Cipher — Does a letter for letter matching for a result similar to puzzles provided in newspapers.

VBScript Encoder is written entirely in VBScript (ASP) running on IIS by Anthony J. Garot.

Send suggestions for improving VBScript Encoder here.

Interested in reviewing the code? Ask here by specifying your interest/use for the code.
 
Start VBScript Encoder