feat: use cksum for sha2+3 hash

This commit is contained in:
Leo
2026-04-23 12:19:26 +02:00
parent 7da7d4e51d
commit 4464bf55a9
3 changed files with 5 additions and 2 deletions

View File

@@ -1,2 +1,4 @@
plaintext.txt -Algorithm SHA256
reads the plaintext file and calculates a unique hash string using the SHA-256 cryptographic algorithm.
cksum -a sha2 --length 256 plaintext.txt > b-sha2.txt
reads the plaintext file and calculates a unique hash string using the SHA2-256 cryptographic algorithm and writes it into b-sha2.txt
cksum -a sha3 --length 256 plaintext.txt > b-sha3.txt
reads the plaintext file and calculates a unique hash string using the SHA3-256 cryptographic algorithm and writes it into b-sha3.txt