Thanks for your replies, Martin. Yes, indeed I'd like to encrypt
variables rather than constants. Maybe still I can use your first
reply to achieve somehow my goal.

You say that encrypting variables is not supported and should be
added, right? For my own needs I have developed an implementation in
Python and SAGE of the round transformation of AES which operates on
symbolic variables representing the plaintext and the key. My
implementation uses the PolyBori library and defines the variables as
elements of a BooleanPolynomialRing. If you think that this
implementation might be something interesting to be added to SAGE,
please let me know. I'd be happy to share my code.

Greetings,
vpv

On Sep 17, 7:36 pm, Martin Albrecht <[EMAIL PROTECTED]>
wrote:
> On Wednesday 17 September 2008,vpvwrote:
>
> > 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?
>
> Uh, I get it, you want to encrypt variables rather than constants, right? This
> isn't supported right now but should be added.
>
> Cheers,
> Martin
>
> --
> name: Martin Albrecht
> _pgp:http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
> _www:http://www.informatik.uni-bremen.de/~malb
> _jab: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to