Respected research fellows,

I am working on logistic chaotic map for generating numbers from 0-255 (in non-repetitive manner), so far I am successful in generating numbers but there are so many repetition of values. I need some help please! Following is python snippet I am using to generate these numbers.

def sbox(x, r, size):

i = []

for j in range(size):

x=r*x*(1-x)

i.append(int((x* pow(10,14))%256))

return i

print(sbox(0.9058,3.9,256))

This will eventually go towards Substitution Box creations.

More Annas Malik's questions See All
Similar questions and discussions