On Fri, 11 May 2012 15:34:51 +0200
Jacopo Fabiani wrote:

> My question is: where do I get wrong? Is there a way to decode encoded
> token that I got with sa-learn --backup command?

They are truncated hashes, so it's not possible to decode them
directly. 

IIRC there is a plugin to store the token alongside its hash in SQL.
It's also possible to look-up a specific token

$ grep `printf LOTTERY  | sha1 | tail -c10`  sa-back
t       35      0       1304273937      0cd0c4740c

Reply via email to