Freelancer:
bhavinhjoshi
Coupon & email hash example with code
This is how I did it with Drupal!