device token generator.