At the moment I'm playing around a bit with title downloads and for an overview of a tmd file I use this page on WiiBrew TMD.
Here it states that the content int the tmd exists of an ID, an Index, a Type, a Size and a SHA-1 Hash. The problem is that when I compute the SHA-1 hash of the downloaded content it doesn't match with the Hash that was in the content of the tmd file.
Anybody knows exactly where the SHA-1 hash of the content in the tmd file comes from? It doesn't look like its the hash of the downloaded content or could it be the way I get the hash of the downloaded file? I use the SHA1 class from .Net:
CODEbyte[] content = ;
byte[] originalHash = ;
SHA1 sha1Instance = SHA1.Create();
byte[] hash = sha1Instance.ComputeHash(content)
return hash == originalHash;
Here it states that the content int the tmd exists of an ID, an Index, a Type, a Size and a SHA-1 Hash. The problem is that when I compute the SHA-1 hash of the downloaded content it doesn't match with the Hash that was in the content of the tmd file.
Anybody knows exactly where the SHA-1 hash of the content in the tmd file comes from? It doesn't look like its the hash of the downloaded content or could it be the way I get the hash of the downloaded file? I use the SHA1 class from .Net:
CODEbyte[] content = ;
byte[] originalHash = ;
SHA1 sha1Instance = SHA1.Create();
byte[] hash = sha1Instance.ComputeHash(content)
return hash == originalHash;