I've successfully created a 4x4 4-bit variant of SR

sage: sr = mq.SR(1,4,4,4,allow_zero_inversions=True)
sage: sr
SR(1,4,4,4)

Next I would like to create a plaintext/key pair, which is composed of
variables (say x0,x1,...,x15,k0,k1,...,k15) rather than actual values
(eg. 0,1,...,1,0,0,0,1,1). How can I do that?

P.S. naturally I assume that x0,...x15,k0,...,k15 are elements in
GF(2) so that eg. x0+x0=0 and x0*x0=x0

Thanks.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to