Erlang Equivalent of C# Hash

Jing Ding <>
Thu Dec 22 21:00:06 CET 2005


Hi there,
  I previously asked about how to do MD5. And I got answers.
  Thanks for your help. But the binary result is not the same as the string generated from C# :
  ------------------------------------------------------
  byte[] a = md5Hash.ComputeHash(AE.GetBytes(UserID + value));
  PasswordHash = Convert.ToBase64String(a);
  ---------------------------------------------------
  Anyone else happen to came across this? Thanks.
  
  Jing
  
  
		
---------------------------------
 Yahoo! DSL Something to write home about. Just $16.99/mo. or less
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051222/b877dc7b/attachment.html>


More information about the erlang-questions mailing list