Replace characters with a small cipher
For a substitution display, enable Use Per-Character Cipher while Password / Cipher Mode is on. Enter a valid JSON object in Cipher Map JSON.
{"A":"1", "B":"2", "C":"3"}With that map, entering ABC displays 1 2 3, with the chosen custom spacing. The saved/read input remains ABC. A source letter not listed in the map uses the normal mask fallback.
Figure 27. The cipher has its own switch and map. Its keys are source characters, with case-sensitive matching.
| Map entry | Display replacement |
|---|---|
| "A":"1" | Ordinary replacement text. |
| "B":{"text":"!"} | Text supplied by an object entry. |
| "C":"{ID:key_icon}" | The imported image asset key_icon. |
| "D":{"assetId":"wheel_icon"} | An image supplied by an object entry. |
Use the exact imported image ID. The {ID:...} form belongs to the cipher map; it is not a general wildcard that inserts an image into every ordinary Label.
A lowercase a and uppercase A are different source keys. Add both if you want both to use the same mark. Use wide enough fields for custom symbols/images, and keep an ordinary readable test before adding elaborate artwork.
