Guest User

Untitled

a guest
Apr 26th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. echo -n "foo" | openssl dgst -sha1
  2.  
  3. (stdin)= 0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33
  4.  
  5. echo -n "foo" | openssl dgst -sha1 | sed 's/^.* //'
  6.  
  7. echo -n "foo" | sha1sum | sed 's/ .*//'
  8.  
  9. echo -n "foo" | sha1 -q
  10.  
  11. digest=$(echo -n "foo" | openssl dgst -sha1 | sed 's/^.* //')
  12.  
  13. echo -n "foo" | openssl dgst -sha1 | sed 's/^.* //' | tr -d 'n' | unusual_program
  14.  
  15. echo -n "foo" | openssl dgst -sha1 -binary | xxd -p
  16.  
  17. 0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33
  18.  
  19. echo -n "foo" | openssl sha1 | awk '{print $2}'
  20.  
  21. output="$(openssl sha1 <(printf foo))"; echo ${output/* }
Add Comment
Please, Sign In to add comment