rotor

A convenience function to make a rotor with two 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)
    pure
    rotor
    (
    S
    )
    if (
    isSomeStringOrDcharRange!S
    )

Meta