setkey method's argument is no longer optional (it used to be a no-op
when missing).
This commit is contained in:
parent
b02092a9b2
commit
6717030dc9
|
@ -35,9 +35,8 @@ if it is omitted, a default value of 6 will be used.
|
|||
Rotor objects have the following methods:
|
||||
|
||||
\renewcommand{\indexsubitem}{(rotor method)}
|
||||
\begin{funcdesc}{setkey}{\optional{key}}
|
||||
Sets the rotor's key to \var{key}. If \var{key} is not given, this
|
||||
function does nothing\footnote{This is for backwards compatibility.}.
|
||||
\begin{funcdesc}{setkey}{key}
|
||||
Sets the rotor's key to \var{key}.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{encrypt}{plaintext}
|
||||
|
|
|
@ -35,9 +35,8 @@ if it is omitted, a default value of 6 will be used.
|
|||
Rotor objects have the following methods:
|
||||
|
||||
\renewcommand{\indexsubitem}{(rotor method)}
|
||||
\begin{funcdesc}{setkey}{\optional{key}}
|
||||
Sets the rotor's key to \var{key}. If \var{key} is not given, this
|
||||
function does nothing\footnote{This is for backwards compatibility.}.
|
||||
\begin{funcdesc}{setkey}{key}
|
||||
Sets the rotor's key to \var{key}.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{encrypt}{plaintext}
|
||||
|
|
Loading…
Reference in New Issue