Add a command for converting hashes

Useful for me, maybe for others too, what do you think?