Method: EmailAddress::Address#reference
- Defined in:
- lib/email_address/address.rb
#reference ⇒ Object Also known as: md5
Returns and MD5 of the canonical address form. Some cross-system systems use the email address MD5 instead of the actual address to refer to the same shared user identity without exposing the actual address when it is not known in common.
142 143 144 |
# File 'lib/email_address/address.rb', line 142 def reference Digest::MD5.hexdigest(self.canonical) end |