Difference between revisions of "Shasum"

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

Revision as of 16:11, 17 April 2020

SHA256 calculation:

shasum -a 256 /path/to/file


SHA256 double encoding:

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


Related commands

Advertising: