09 Security and Cryptography
Exercises
- 
Entropy
 - 
four concatenations: log2(10^20)≈66.4
 - 62 possibilities > log2(62^8)≈47.6
 - previous one with larger entropy
 - 3*10^8 years and 692 years
 bash % sha256sum debian-mac-11.2.0-amd64-netinst.iso | shasum --algorithm 256 --check debian-mac-11.2.0-amd64-netinst.iso: OKbash $ openssl aes-256-cbc -salt -in secret.txt -out secret.enc.txt enter aes-256-cbc encryption password: Verifying - enter aes-256-cbc encryption password: $ openssl aes-256-cbc -d -in secret.enc.txt -out secret.dec.txt enter aes-256-cbc decryption password: $ cmp secret.txt secret.dec.txt | echo $? 0