Topic: Diffrent digest in compare of Online hash fucntion
I used MD5 as a test function I fill buffer like this and used printf() and %x operator to show the content of md5sum and shaa256sum as a resualt.
buffer= "Hello"; MD5 is e358b60a19d79e6ec8ccc18c834425 SHA is 7040f8eeeddf088d9d42198f8cf33be1471b2c225af4c1ab496eab9b9a89f8
but it is a mistake because the Hash of Hello is this
Md5 8b1a9953c4611296a827abf8c47804d7 SHA256 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
What thing would be my mistake?