Zero Width Packer

This experiment made with state-control.

What's this?

Encipherer encodes strings using selected set of symbols (from 3 to 36). It just takes any Unicode string and converts it. You can also decode resulting string by pressing “Copy packed” button.

How can I use the Zero-Width Packer?

Packer can be used for steganography with zero-width symbols.

Encoding and decoding

The core code is pretty small.

It processes every character in string as it Unicode number. The number is converted to a base equal to the number of characters for encoding minus 1. Then each number is mapped to the appropriate character for encoding. The last character is used as a separator.

Fork me on GitHub