#6841: [with patch, needs review] the shift cryptosystem
--------------------------+-------------------------------------------------
 Reporter:  mvngu         |       Owner:  somebody       
     Type:  enhancement   |      Status:  new            
 Priority:  major         |   Milestone:  sage-4.1.2     
Component:  cryptography  |    Keywords:                 
 Reviewer:                |      Author:  Minh Van Nguyen
   Merged:                |  
--------------------------+-------------------------------------------------

Comment(by mvngu):

 The updated patch addresses rbeezer's comments on sanity checking the
 value of the encryption/decryption key. The sanity checking is done in the
 callable `__call__()` of the class `ShiftCryptosystem`. I have added
 doctests to that callable. Currently, methods beginning with an underscore
 "`_`" don't show up in the reference manual, so I have also added the
 doctests for checking key value to the docstring for the class
 `ShiftCryptosystem`. In this way, reading the reference manual for the
 shift cryptosystem should make it clear (hopefully) that the value of an
 encryption/decryption key must lie within the range of acceptable values,
 i.e. must be within the key space.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6841#comment:6>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to