#6139: [with patch, needs review] Fix S-Box calling when m != n
--------------------+-------------------------------------------------------
Reporter: malb | Owner: malb
Type: defect | Status: new
Priority: major | Milestone: sage-4.0.1
Component: misc | Keywords: crypto, mq, sbox
--------------------+-------------------------------------------------------
This should work:
{{{
sage: S = mq.SBox(3, 0, 1, 3, 1, 0, 2, 2)
sage: S(0)
3
sage: S([0,0,0])
[1, 1]
}}}
reported by Sajan.S on [sage-support] (27.5.09)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6139>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---