Re: [Barry-devel] Regarding barry's password hashing.

2012-10-23 Thread Chris Frey
On Tue, Oct 23, 2012 at 01:42:00PM +, tgeek...@gmail.com wrote: > Thanks for instant reply. > > The length of SHA1 is 160, so how does this convert into password of 20 bytes. See also SocketZero::SendPasswordHash() - Chris ---

Re: [Barry-devel] Regarding barry's password hashing.

2012-10-23 Thread tgeek . in
Thanks for instant reply. The length of SHA1 is 160, so how does this convert into password of 20 bytes. Sent on my BlackBerry® from Vodafone -Original Message- From: Nicolas CARRIER Date: Tue, 23 Oct 2012 13:39:18 To: Barry project development discussion Reply-To: Barry project develop

Re: [Barry-devel] Regarding barry's password hashing.

2012-10-23 Thread Nicolas CARRIER
Hello, you can take a look at m_ipmodem.cc:IpModem::SendPassword (l. 65 in current master's HEAD) Basically : 1. compute the SHA1 of the password 2. prefix the result with the seed sent by the device 3. compute the SHA1 of the result of step 2. 4. send the result of step 3. to the device

[Barry-devel] Regarding barry's password hashing.

2012-10-23 Thread Tech Geek
Hi, I am curious to know about barry's password hashing. How does hashing is done and which algo is used ? Thanks -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics