#11565: RSA Cryptosystem
-------------------------------------+-------------------------------------
       Reporter:  ajeeshr            |        Owner:  mvngu
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.6
      Component:  cryptography       |   Resolution:
       Keywords:  RSA, crypto,       |    Merged in:
  public key encryption              |    Reviewers:
        Authors:  Peter Story,       |  Work issues:
  Ajeesh Ravindran                   |       Commit:
Report Upstream:  N/A                |  3c8e43ae07f14dbc6c42f42c5e91cfee5b3f2e45
         Branch:                     |     Stopgaps:
  u/peter.story/rsa_cryptosystem     |
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by peter.story):

 Of the options you described, I think the best is simply to not inherit
 from `PublicKeyCryptosystem` or `Cryptosystem`. If I inherit from either
 of them, implementing the `plaintext_space`, `ciphertext_space`, etc.
 would require accepting `p` and `q` when an `RSACryptosystem` object is
 initialized. However, since this is a pedagogical module, that is
 undesirable, since I want to keep `calculate_keys(p, q)` explicit.

 Consequently, in this next patch I have removed inheritance from
 `PublicKeyCryptosystem`.

--
Ticket URL: <http://trac.sagemath.org/ticket/11565#comment:25>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to