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 in a suitably built packet


On 23/10/2012 12:39, Tech Geek wrote:
> Hi,
>
> I am curious to know about barry's password hashing. How does hashing is done 
> and which algo is used ?
>
> Thanks


-- 
Nicolas CARRIER - 6081 - 2ème centre

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to