What i want is to be able to get the sha1 hashed value of a particular password.

So for instance if my password was "hello" what command would i need to type into linux to get the sha1 hashed value of hello?

I tried

echo -n "hello" | sha1sum

but the value it returned did not give a value that was accepted by the database stored procedure that takes in the hashed value to verify a login(which the issue is not in this stored procedure because we use it all over the place for verfication purposes).

BASICALLY,

i just need to know a command to give a string and get back the sha1 hashed value of it

Thanks! :)

Edit
Report