User Tools

Site Tools


hashed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hashed [2025/05/20 12:32] userahashed [2025/05/20 12:38] (current) usera
Line 8: Line 8:
 Notice that if you change one character of the input, this changes radically the output. This is an important property of hash functions Notice that if you change one character of the input, this changes radically the output. This is an important property of hash functions
  
-To compute the hash function of a file, in Linux you can enter:+Keeping as an example the hash function SHA256, which will be the one you want almost all the time, to compute the hash function of a file, in Linux you can enter:
 <code> <code>
 sha256sum [filename] sha256sum [filename]
 +</code>
 +
 +on windows it would be:
 +<code>
 +certutil -hashfile [filename] SHA256
 +</code>
 +
 +and on MacOS:
 +<code>
 +shasum -a 256 [filename]
 </code> </code>
hashed.1747744342.txt.gz · Last modified: by usera