Encoding

Premise


During the matrix creation process, we can choose how many mini-codes to assign to each encodable character.

📌 Practical example
If we choose to generate a matrix with 10 mini-codes, each character will receive 10 unique and random mini-codes.
During text encoding, the software will assign one of these mini-codes to each occurrence of the corresponding character.
⚠️ But be careful: a single mini-code can only be used once.

🚫 What happens if the mini-codes are not enough?
If a character appears more times in the text than there are available mini-codes, encoding will fail.

Example:

We created a matrix with 10 mini-codes.
We want to encode a text that contains 11 letters “c”.
❌ The encoding will not be completed, because the eleventh “c” cannot be assigned a mini-code.

How encoding works


With Cyphersol, each uppercase letter, lowercase letter, accented letter, special character, number, symbol, space, and line break can be assigned different unique random mini-codes.
If you create a matrix using the default setting (100 columns), a maximum of 100 unique random mini-codes can be assigned to each character.
However, when generating the matrix, you can choose to create up to a maximum of 16382 columns.

The mini-code assigned to a single character will be the result of a concatenation.
What is concatenated is the content of any cell in area B with the numbers from the cell (strictly from the same column) corresponding to the row of the character to be encoded.

Example of encoding based on the following matrix: