openssl enc -aes-256-cbc -salt -in secrets.txt -out secrets.enc -pass file:./encryption-key.bin Decryption reverses the process:
xxd encryption-key.bin Assume you have a sensitive file secrets.txt . Using OpenSSL, you can encrypt it with the binary key: encryption-key.bin file
You can inspect the raw bytes (in hexadecimal) with: openssl enc -aes-256-cbc -salt -in secrets