Difference between revisions of "Shasum"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
  shasum -a 256 /path/to/file
 
  shasum -a 256 /path/to/file
  
 +
 +
Double encoding:
 +
echo -n hello | openssl sha256 -binary | openssl sha256
 +
9595c9df90075148eb06860365df33584b75bff782a510c6cd4883a419833d50
  
  
 
== Related commands ==
 
== Related commands ==
 
  [[openssl]] sha256 /path/to/file
 
  [[openssl]] sha256 /path/to/file

Revision as of 14:38, 17 April 2020

shasum -a 256 /path/to/file


Double encoding:

echo -n hello | openssl sha256 -binary | openssl sha256
9595c9df90075148eb06860365df33584b75bff782a510c6cd4883a419833d50


Related commands

openssl sha256 /path/to/file

Advertising: