powered by
The Scytale is a transposition cipher The diameter of the Scytale (the number of turns) can be regarded as the key of the cipher.
scytale(word, key, decrypt = FALSE)
a string
Word or phrase to be encrypted or decrypted
Number of turns of the band
If `FALSE` (default), the program ciphers the input word, If `TRUE`, the program decrypts it.
https://en.wikipedia.org/wiki/Scytale
scytale('we are discovered flee at once',3)
Run the code above in your browser using DataLab