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 = 3, encrypt = TRUE)
a string
Word or phrase to be encrypted or decrypted
Number of turns of the band
If `TRUE` (default), the program ciphers the input word, If `FALSE`, 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