Random generator for bonus codes and beta-keys