Hi is here any one who can tell me that how can i generate the licence key or any other things for securing my client server program please help me
Jump to Post
use the random module and a for loop like this.
import random ll = "a;b;c;d;e;f;g;h;i;j;k;l;m;n;o;p;q;r;s;t;u;v;w;x;y;z" ul = "A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S;T;U;V;W;X;Y;Z" key =  finalKey =  finalKeyStr = "" lettersList = ll.split(";") + ul.split(";") for number in range(0, 100): key.append(str(random.randint(1, 26))) for letter in range(0, 100): key.append(str(random.choice(lettersList))) for char in key: …
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.