#9730: A simple RC4 cipher implementation for Sage
--------------------------------+-------------------------------------------
   Reporter:  sg.sourav         |       Owner:  mvngu                    
       Type:  enhancement       |      Status:  needs_work               
   Priority:  minor             |   Milestone:                           
  Component:  cryptography      |    Keywords:  RC4, Cryptosystem, Cipher
     Author:  Sourav Sen Gupta  |    Upstream:  N/A                      
   Reviewer:                    |      Merged:                           
Work_issues:                    |  
--------------------------------+-------------------------------------------

Comment(by sg.sourav):

 Attaching a modified patch which passed all doctests successfully. Also
 added some sanity checks for types of inputs.

 Apply rc4_mod1.patch directly (not over rc4.patch).


 {{{
 sou...@ssg:~/sage4.5$ ./sage -t -long devel/sage-main/sage/crypto/rc4.py
 sage -t -long "devel/sage-main/sage/crypto/rc4.py"
          [6.7 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 6.7 seconds
 sou...@ssg:~/sage4.5$ ./sage -t -long devel/sage-main/sage/crypto/rc4.py
 sage -t -long "devel/sage-main/sage/crypto/rc4.py"
          [6.7 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 6.7 seconds
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9730#comment:3>
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