hashed
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hashed [2025/05/20 12:32] – usera | hashed [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: |
| < | < | ||
| sha256sum [filename] | sha256sum [filename] | ||
| + | </ | ||
| + | |||
| + | on windows it would be: | ||
| + | < | ||
| + | certutil -hashfile [filename] SHA256 | ||
| + | </ | ||
| + | |||
| + | and on MacOS: | ||
| + | < | ||
| + | shasum -a 256 [filename] | ||
| </ | </ | ||
hashed.1747744342.txt.gz · Last modified: by usera
