(root)/Notes/Notes/notes/reversal cipher.md RSS

Reversal Cipher

--- me

see math notation

given two bijective ‹functions f and g with identical function › domain and function › range, the compositions e = `fg and `e = `gf are inverses of each other, forming the encipher-decipher pair of a reversal cipher

both the function › domain and function › range of e and `e are identical to the function › domain of f and g. consequently, reversal ciphers are most useful when the function › range of the bijections is awkward to work with

example

the function › domain of touch-typing is a set of characters and its function › range is key positions on a keyboard. within this model, a keyboard layout setting is the inverse of touch-typing that keyboard layout, which is obvious given that a`b = {*} == a = `b #todo id. therefore, let us define:

from the above we may deduce:

that is, dvorak layout touch-typing on qwerty layout setting and qwerty layout touch-typing on dvorak layout setting are inverses of each other, forming the encipher-decipher pair of a reversal cipher

---

--- https://planetmath.org/inverseofcompositionoffunctions

--- https://proofwiki.org/wiki/Inverse_of_Product