Ask Your Question

manu4912's profile - activity

2020-12-02 10:37:33 +0100 received badge  Notable Question (source)
2020-02-13 20:10:29 +0100 received badge  Popular Question (source)
2016-09-16 14:09:40 +0100 asked a question SAGE multiplication in 2^8

Hi guys, I have a questions:

If I want to do the multiplication 0x09 * x where x is another number hex.

or another example, 0x0d * x, how can I do this in sage?

Because for example when I multiply by 2, I do: x=2*x if x>=256: x=(x-256)^^0x1b

the multplication is in 2⁸ Thank you very much