functional version for microsoft product key keying