已答复 sha-256 multiple updates

  • terça-feira, 8 de maio de 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?

Todas as Respostas

  • sexta-feira, 18 de maio de 2012 19:00
    Moderador
     
     Respondido

    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