Command Line

7. Security

2020-03-17 08:00 CST
2020-03-23 11:32 CST
[![Creative Commons License](https://i.creativecommons.org/l/by-nc/4.0/88x31.png)](http://creativecommons.org/licenses/by-nc/4.0/)

Encode

# hash
printf 'hello' | sha1sum
sha1sum README.md
# encrypt
openssl aes-256-cbc -salt -in README.md -out README.enc.md
openssl aes-256-cbc -d -in README.enc.md -out README.md

User

whoami
cat /etc/passwd