Hi can anyone help me in the following code.

>From the following code I am getting ANF from g. But I want to get g 
function (univariate polynomial) from the given ANF of Boolean function. 
How to get it?

R.<x>=GF(2^8,'a')[]
from sage.crypto.boolean_function import BooleanFunction
g=x^254
B = BooleanFunction( g )
print(B)
print(B.algebraic_normal_form())

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/17d277ce-f1d5-4038-af96-4e4d31609fc5n%40googlegroups.com.

Reply via email to