Pošljite SMS: Character sums with exponential functions and their applications