License key generation algorithm changed