[Dovecot] SSHA salt?

2007-05-31 Thread Andreas Baitis
Hi there,

I was wondering if someone could explain how dovecot/dovecotpw produces salt 
for use in ssha passwords, I'd like to replicate this in PHP so I can write 
my passwords from php in ssha instead of just sha1.

Thanks in advance,

Andrea Baitis


Re: [Dovecot] SSHA salt?

2007-05-31 Thread Andreas Baitis
Nevermind,

I figured out it's how I generate the salt that matters.

Thanks anyway.

On Friday 01 June 2007 12:45, Andreas Baitis wrote:
 Hi there,

 I was wondering if someone could explain how dovecot/dovecotpw produces
 salt for use in ssha passwords, I'd like to replicate this in PHP so I can
 write my passwords from php in ssha instead of just sha1.

 Thanks in advance,

 Andrea Baitis