I am trying to implement sha256 in a class in Objective C. In the process, I want to check the accuracy of what I am doing, by doing, what I **thought** was something simple....checking the value against the same operation in "terminal".
But, I am stumped.
The man pages for sha256 show this.
and give an example thus.
error I am getting is:
I have tried every which way to Sunday ( including just about every variation of the above ) , but I cannot get this to work, and there is very little in "googlesphere" about this, so it's time to ask those that do know.
Needless to say, my experience in terminal is somewhat limited, so any help would be greatly appreciated.
But, I am stumped.
The man pages for sha256 show this.
COMMANDS
::sha2::sha256 ?-hex|-bin? [ -channel channel | -file filename | string
and give an example thus.
% sha2::sha256 "Tcl does SHA256"
0b91043ee484abd83c3e4b08d6034d71b937026379f0f59bda6e625e6e214789
error I am getting is:
sha2::sha256 "Tcl does SHA256"
-bash: sha2::sha256: command not found
I have tried every which way to Sunday ( including just about every variation of the above ) , but I cannot get this to work, and there is very little in "googlesphere" about this, so it's time to ask those that do know.
Needless to say, my experience in terminal is somewhat limited, so any help would be greatly appreciated.