libsha1


libsha1 is a hash library that will permit you to hash password or anything very easily, you just have to call a function giving the buffer to hash, the length of this buffer and the number of hash you want, it'll return an allocated hashed null-terminated string

That's all

PS : The algorithm isn't from me, I just wrote the implementation