Closed panicarada closed 2 years ago
Is there a way to create a constant lookup table that can be accessed by a variable index? It is useful for representing nonlinear operation like S-boxes in cryptography.
It can be done by b.Array(), we just need to initialize the array by sequentially writing
for i in range(n): arr = btor.Write(arr, i, f(i))
Is there a way to create a constant lookup table that can be accessed by a variable index? It is useful for representing nonlinear operation like S-boxes in cryptography.