mirror of
https://github.com/python/cpython.git
synced 2025-09-11 11:17:16 +00:00
Fix for SF bug 122176: Error in rotor module documentation.
This commit is contained in:
parent
00429dba08
commit
a3100de9ce
1 changed files with 2 additions and 2 deletions
|
@ -54,13 +54,13 @@ string containing the ciphertext.
|
||||||
|
|
||||||
\begin{methoddesc}[rotor]{decrypt}{ciphertext}
|
\begin{methoddesc}[rotor]{decrypt}{ciphertext}
|
||||||
Reset the rotor object to its initial state and decrypt \var{ciphertext},
|
Reset the rotor object to its initial state and decrypt \var{ciphertext},
|
||||||
returning a string containing the ciphertext. The plaintext string will
|
returning a string containing the plaintext. The plaintext string will
|
||||||
always be the same length as the ciphertext.
|
always be the same length as the ciphertext.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}[rotor]{decryptmore}{ciphertext}
|
\begin{methoddesc}[rotor]{decryptmore}{ciphertext}
|
||||||
Decrypt \var{ciphertext} without resetting the rotor object, and return a
|
Decrypt \var{ciphertext} without resetting the rotor object, and return a
|
||||||
string containing the ciphertext.
|
string containing the plaintext.
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
An example usage:
|
An example usage:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue