Value My Program Outputs for "test":
b913d5bbb8e461c2c5961cbe0edcdadfd29f068225ceb37da6defcf89849368f8c6c2eb6a4c4ac75775d032a0ecfdfe8550573062b653fe92fc7b8fb3b7be8d6
Online Calculator Value for "test":
e6b4aa087751b4428171777f1893ba585404c7e0171787720eba0d8bccd710dc2c42f874c572bfae4cedabf50f2c80bf923805d4e31c504b86ca3bc59265e7dd
It also appears the first two bytes of the output are missing.
this only outputted the single character "#". Any suggestions for fixes with either method? I really need to get these hashing functions to work for my program.
Keep in mind that Final() will write a binary array, not a string array. It's highly unlikely line 22 will work, and even if it does, it's by pure chance.
On further inspection of the string, I compiled a .php script on my site to compare the outputs, and apparently the online calculator is incorrect in it's value.
Sorry for wasting your time, my first function works fine.
I'll be a little more clear about what I'm trying to accomplish though.
I needed the hashing functions to work with the library in an attempt to implement a x509 certificate system for my game designs.