rotor

A convenience function to make a rotor with five turnover notches from a forward substitution. If turnover1 is 'B' and turnover2 is 'Z', the next rotor steps when this rotor steps from B to C and from Z to A. If ringSetting is 'C', it corresponds to "C-03".

  1. auto rotor(S forwardSubstitution, dchar ringSetting)
  2. auto rotor(S forwardSubstitution, dchar turnover, dchar ringSetting)
  3. auto rotor(S forwardSubstitution, dchar turnover1, dchar turnover2, dchar ringSetting)
  4. auto rotor(S forwardSubstitution, dchar turnover1, dchar turnover2, dchar turnover3, dchar turnover4, dchar turnover5, dchar ringSetting)
    pure
    rotor
    (
    S
    )
    if (
    isSomeStringOrDcharRange!S
    )

Meta