I need to hash passwords with C# in a way that another software understands it . Originally php's crypt function is doing that. It has the following output
$6$rounds=1000$1f$yeKGQo0b8MqqMpocFla8uKLE6GOpEygSQUH4qMi4msJZsD50Eh00bU4GwoGGPEeLMdG6C17ehl/l8SrcOABdC0 I guess it is SHA512. . How can I achieve php's crypt functionality with C#
original php
$salt = '$6$rounds=1000$'.dechex(rand(0,15)).dechex(rand(0,15)).'$'; $crypted = crypt($password, $salt);
cryptdoes something different depending on what is available on the machine. So to answer this we would need to know what its doing on your machine.SHA-512to me - looking through the php docs