Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The number of rounds is stored in the member variable _Nr

sage: from sage.crypto.mq.rijndael_gf import RijndaelGF
sage: rgf = RijndaelGF(5, 4)
sage: rgf.number_rounds()
11
sage: rgf._Nr = 100
sage: rgf.number_rounds()
100