Answered sha-256 multiple updates

  • יום שלישי 08 מאי 2012 15:26
     
     
    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?

כל התגובות

  • יום שישי 18 מאי 2012 19:00
    מנחה דיון
     
     תשובה

    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

    • הוצע כתשובה על-ידי SDL TeamModerator יום שישי 18 מאי 2012 19:00
    • סומן כתשובה על-ידי SDL TeamModerator יום רביעי 13 יוני 2012 18:01
    •