#6461: [with patch, needs review] Schaefer's Simplified Data Encryption Standard
for educational purposes
--------------------------+-------------------------------------------------
Reporter: mvngu | Owner: somebody
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.1.1
Component: cryptography | Keywords: cryptography, DES, S-DES
Reviewer: | Author: Minh Van Nguyen
Merged: |
--------------------------+-------------------------------------------------
Comment(by mvngu):
Replying to [comment:2 malb]:
> * I assume that the specification implemented is correct, I didn't
check against the paper, are there official test vectors?
There are no official test vectors for simplified DES. Even the original
paper by Schaefer doesn't contain any such vectors.
[[BR]][[BR]]
> * {{{__cmp__}}} expects you to return an integer (-1,0,1) and not
{{{True}}} or {{{False}}}, cf.
http://docs.python.org/reference/datamodel.html
The latest patch {{{trac_6461-sdes.patch}}} now uses {{{__eq__()}}}. I
have also modified the class {{{MiniAES}}} in
{{{sage/crypto/block_cipher/miniaes.py}}} so it now also uses
{{{__eq__()}}}.
[[BR]][[BR]]
> * it would be nice to have an {{{sbox(n)}}} function to return the
S-Boxes 0 and 1
Done.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6461#comment:5>
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
-~----------~----~----~----~------~----~------~--~---