6

How can I make a file digest under Linux with the RIPEMD-160 hash function, from the command line?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
Grzegorz Wierzowiecki
  • 13,865
  • 23
  • 89
  • 137

1 Answers1

8

You can use openssl for that (and for other hash algorithms):

 $ openssl list-message-digest-commands
md4
md5
mdc2
rmd160
sha
sha1

 $ openssl rmd160 /usr/bin/openssl 
RIPEMD160(/usr/bin/openssl)= 788e595dcadb4b75e20c1dbf54a18a23cf233787
Mat
  • 51,578
  • 10
  • 158
  • 140