railfence | R Documentation |
The rail fence is a transposition cipher where the text is written upwards and downwards diagonally (zigzag) on the rails of the fence
railfence(word, key = 3)
word |
Word or phrase to be encrypted |
key |
numeric key (number of rails) |
a string
https://en.wikipedia.org/wiki/Rail_fence_cipher
railfence('we are discovered flee at once',3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.