Closed malb closed 16 years ago
Attachment: sbox.patch.gz
It might be a bit controversial if this functionality should go in (it is not math but applied math)
It's not controversial at all, in my opinion -- this should definitely go in.
"Applied math" belongs squarely within the mission of Sage, and S-Box's most certainly do.
Applies to 2.10.4.alpha0 and passes tests after #2444 is applied.
Merged in Sage 2.10.4.rc0
The attached patch adds a class SBox to the module
sage.crypto.mq
which offers basic functionality to work with cryptographic substitution boxes like:It might be a bit controversial if this functionality should go in (it is not math but applied math), so here are some points in favour:
sage.crypto
module with LFSRs and such.SBox
supports (algebraic) cryptanalysis by simplifying experiments with ciphers and algebraic aspects of cryptography is an application of Sage (Sage was advertised for this application in the past)Component: commutative algebra
Issue created by migration from https://trac.sagemath.org/ticket/2501