Implemented generation of hardware id based on elitepvper's algorithm