Answered sha-256 multiple updates

  • Tuesday, May 08, 2012 3:26 PM
     
     
    I am trying to duplicate the java md.update(digest) functionality using the .net SHA256Managed Class.  Each time I execute the java md.update(digest) the hash output changes (even though the value of digest stays the same).  With the .net application, calling the method ComputHash(Byte()), yields the same output each time the call is made.  The output should change each time the call is made.  Any ideas on how to make the .net function like the java?

All Replies

  • Friday, May 18, 2012 7:00 PM
    Moderator
     
     Answered

    Thanks for reaching out to us. Unfortunately, your question is not suited for the Security Development Lifecycle (SDL) Forum.

    We address questions related to the Microsoft Security Development Lifecycle, the software security assurance development process developed by Microsoft.

    Regards,

    The SDL Team