Watermarking, what does it actually consist of ...
Mikael Syska
mikael at syska.dk
Fri May 23 12:19:20 IST 2008
Hi,
Thanks for the answer ...
On Fri, May 23, 2008 at 9:50 AM, Matt Hampton <spamlists at coders.co.uk> wrote:
> Mikael Syska wrote:
>>
>> What is the watermark contructed of, I know it contains the some kind
>> of MD5 hash of the watermarking "secret" and some kind of timestamp
>> ...
>>
>>
>
> Hi Mikael
>
>
>
> return Digest::MD5::md5_base64(join("\$\%", $expiry, $email, $date, $secret,
> $msgid));
>
> so you end up with the base64 md5 of
>
> "12346678$%sender at domain.com$%12345678$%S3cret$%<Message-Id-Header>"
>
>
> The only problem I see is converting the date in to a unix time stamp...
Well, maybe ... dont know yet.
So .... just to make things clear ... its a MD5 hash ... converted to
base64 ... and when it comes back into MailScanner again it
recalculates the hash ... with the info from the mail ... and then
compares the two string hashes ?
Or am I totally lost here .. ?
> matt
> --
best regards
Mikael Syska
More information about the MailScanner
mailing list