~andreicek


How to encryt and decrypt a file using openssl

Encryption

~% openssl enc \
	-aes-256-cbc -salt \
	-in file \
	-out file.enc

Decrpytion

~% openssl enc \
	-aes-256-cbc \
	-d \
	-in file.enc \
	-out file

Go back to homepage