first of all I am new here and English it is not my firts language so i am very sorry for any mistakes. I need to replicate a algorithm made in python in a web system made in php. The algorithm generate a key to register modules in another system. The python code is this.first of all I am new here and English it is no