How Nicodemus works
The message is written in rows under a keyword. Each column is shifted as in Vigenère, using the key letter at its top. The columns are then rearranged into the keyword's alphabetical order, and the ciphertext is read off five rows at a time, going down each column before moving to the next. It combines substitution and transposition in one step.