My hobby cipher has nearly 200 symbols, including symbols for some two and three letter combinations. Could I type ordinary letters and have the computer replace them with the right symbols, or offer symbols as suggestions? I'm not very technical, so a simple starting point would help.
Can I type my custom cipher on a computer?
Answers
Yes. The simplest starting point is probably a small converter rather than a whole new keyboard. You type or paste ordinary text into one box, and the program produces cipher text in another.
First, make a table of every letter or letter combination and its matching symbol. You also need a rule for overlaps. For example, if both AB and ABC have symbols, should ABC always take priority? A programmer could use that table and your rule to build the converter.
How the output is displayed is a separate question. If your symbols aren't already available as text characters, you may need a custom font as well.
Reply to this answer
A custom font can help draw the symbols, but a font alone isn't necessarily a cipher. If it just makes ordinary letters look different, changing the font can reveal the original letters.
For shareable cipher text, you'll need a way to represent each symbol in the stored text too. If you use custom characters and a custom font, the recipient may need that font to see the symbols correctly.
Reply to this answer
For typing directly in other programs, look into an input method or a text replacement script. The idea is similar to an input method that turns several keystrokes into one character.
There are some fiddly bits. The script may have to wait after a letter to see whether the next one forms a longer token, and it needs rules for spaces, punctuation, and corrections. Suggesting a symbol and letting you choose it could avoid some unwanted replacements. What works will depend on your operating system and the apps you use.
_x63~mivnaro.2:
For Windows, AutoHotkey is one option to investigate for a text replacement script. You'd still need a way to display your custom symbols.
Reply to this answer
Reprogramming a keyboard or writing a system-level input tool is another possibility, but I wouldn't start there. A keyboard sends key input, while software and fonts handle the text and its appearance. A separate converter is easier to try before deciding whether you need system-wide input.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Nexvilo-3j:
So I don't have to fit all 200 symbols onto separate keyboard keys?
Zelmexo+7r:
Right. The converter can recognize combinations of ordinary keys and choose from a much larger set of output symbols.