#8246: Carmichael lambda function for the Blum-Blum-Shub pseudorandom bit
generator
-------------------------------+--------------------------------------------
 Reporter:  mvngu              |         Owner:  mvngu                          
          
     Type:  enhancement        |        Status:  closed                         
          
 Priority:  major              |     Milestone:  sage-4.3.3                     
          
Component:  cryptography       |    Resolution:  fixed                          
          
 Keywords:                     |        Author:  Mike Hogan, David Joyner, Minh 
Van Nguyen
 Upstream:  N/A                |      Reviewer:  David Joyner                   
          
   Merged:  sage-4.3.3.alpha1  |   Work_issues:                                 
          
-------------------------------+--------------------------------------------

Comment(by ylchapuy):

 Replying to [comment:7 wdj]:
 > For me, a small speed up does not matter. The function is used
 theoretically in security estimates for the BBS stream cipher.

 I totally agree on this, but you asked for speed results! I didn't
 mentionned speed at all in my first message.

 > I'm not saying that you should not try to speed things up,

 It's definitely not what I'm trying to do.

 > it is just that it is more important for the function to exist in Sage
 that for it to be fast. But if someone wants me to referee a new patch,
 that is fine too.

 My point was:

  * there is a bug: e.g. carmichael_lambda(16) is of type
 sage.rings.rational.Rational ;
  * a small speed up does not matter: therefore no need to hard code the
 first 10 cases, it just makes the code less readable ;
  * my code is IMHO just easier to read.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8246#comment:8>
Sage <http://www.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