Uni-variate polynomial

25 views
Skip to first unread message

dibyendu...@gmail.com

unread,
Dec 1, 2020, 7:46:51 AM12/1/20
to sage-support
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())
Reply all
Reply to author
Forward
0 new messages