polybius | R Documentation |
The polybius square is a device which associates each letter to a pair of coordinates. The letter J is excluded and replaced with I in order to get 25 letters and create a 5x5 matrix.
polybius(input, encrypt = TRUE)
input |
Word or phrase to be encrypted, or character vector with the sequence of coordinate numbers if we need to decrypt |
encrypt |
If 'TRUE' (default), the program ciphers the input word, If 'FALSE', the program decrypts it. |
a string
https://en.wikipedia.org/wiki/Polybius_square
polybius("hello world")
polybius("23 15 31 31 34 52 34 42 31 14", encrypt = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.