[Date Prev][Date Next] [Chronological] [Thread] [Top]

Antw: SSHA hashed passwords && retrieving the salt



>>> Matthias Apitz <guru@unixarea.de> schrieb am 15.01.2014 um 09:20 in
Nachricht
<20140115082007.GA7160@sh4-5.1blu.de>:

[...]
> I can repeat the given example with:
> 
> $ echo -n 'MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0' | mmencode -u
> 123456789012345678901234
> 
> but when I run the original string through decode, I get only binary 
> nonsense from:
> 
> echo -n 'MgwfkqCnGu2XUvmW3sNnrZ9pV0TJl/CD' | mmencode -u
> 2
>   ÂÃRÃÃÃg-Ã

Remember: A byte is 8 bits; any combination. Just count bytes. Maybe this:

echo -n 'MgwfkqCnGu2XUvmW3sNnrZ9pV0TJl/CD' | mmencode -u | hexdump -C

> 
> What I do wrong or what I'm missing here?

All bits are used ;-)

Regards,
Ulrich