Re: [exim] Decode base 62 message ID

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Karl Fischer
Datum:  
To: Björn Keil
CC: exim-users
Betreff: Re: [exim] Decode base 62 message ID
Björn Keil wrote:
> Hello,
>
> I am trying to find a way to decode the base 62 encoding used for the
> date in the message ID. I've written a little python program, but the
> results don't seem quite right:
>
> I started out with the assumption that the numbers were given big endian
> (as any human readable number) and that the values of digits were their
> own, a -> z => 10 -> 35 and A -> Z => 36 -> 61. Was any of those
> assumptions wrong? Besides, is the time used the local time or UTC?



looks like you swapped upper and lowercase alphas ...
see: http://en.wikipedia.org/wiki/Base_62

Rgds

- Karl