activation¶
A place to store activation-codes for e.g. authentication
-
nano.activation.baseNgenerator(base=10, keylength=5, step=1)¶ Generate keys of base <base> and length <keylength>
-
nano.activation.generate_keys(generator, amount=50)¶ Generate <amount> keys with <generator>
-
nano.activation.to_base(num, base, numerals='0123456789abcdefghijklmnopqrstuvwxyz')¶ Convert <num> to <base> using the symbols in <numerals>