sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.41k stars 474 forks source link

SBox class for Sage #2501

Closed malb closed 16 years ago

malb commented 16 years ago

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:

Component: commutative algebra

Issue created by migration from https://trac.sagemath.org/ticket/2501

malb commented 16 years ago

Attachment: sbox.patch.gz

williamstein commented 16 years ago
comment:1

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.

mwhansen commented 16 years ago
comment:2

Applies to 2.10.4.alpha0 and passes tests after #2444 is applied.

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 16 years ago
comment:3

Merged in Sage 2.10.4.rc0