asp.net - How can I hash passwords with salt and iterations using PBKDF2 HMAC SHA-256 or SHA-512 in C#? -


i find solution or method allow me add salt , control number of iterations. native rfc2898derivebytes based on hmacsha1. ideally, using sha-256 or sha-512 make system future proof.

this best example have found far: http://jmedved.com/2012/04/pbkdf2-with-sha-256-and-others/ when ran sha-256 slower sha-512. used 64k iterations, guid salt , different same length passwords compare.

i found solution: http://sourceforge.net/projects/pwdtknet/ has full source code available. seems more robust.

so far not able same output each of them.

the pwdtk.net library (http://sourceforge.net/projects/pwdtknet/) seems implementation can find pbkdf2 hmac sha-512 , allows salt , iterations. have not been able locate test vectors pbkdf2 hmac sha-512 test with.

i surprised there not more devs out there using already.

not big fan of answering own questions, since comments degraded discussion speed , no 1 else has answered yet, might well.

thanks commented.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -