System.Cryptography.SHA1

Are all result from SHA1 the same

For example:
If a string is converted using the .NET SHA1, would it be equal to that of a c++, java, or other version of the SHA1 file by Steve Reid



Answer this question

System.Cryptography.SHA1

  • LittleG

    All valid implementations of SHA1 produce the same output from a given input, yes; though this doesn't prove that any given implementation does it correctly.

    I think it safe to assume that the .NET algorithm is correctly implemented.

  • System.Cryptography.SHA1