/**
  * Create Hash for Optin Mail
  *
  * @param Mail $mail
  * @return string
  */
 public static function createOptinHash(Mail $mail)
 {
     return self::createHash($mail->getUid() . $mail->getPid() . $mail->getForm()->getUid());
 }