Skip to content

Instantly share code, notes, and snippets.

@ruanbekker
Created March 15, 2019 09:11
Show Gist options
  • Save ruanbekker/a425e02e768285aa404cffa3ad1b67f3 to your computer and use it in GitHub Desktop.
Save ruanbekker/a425e02e768285aa404cffa3ad1b67f3 to your computer and use it in GitHub Desktop.
Encryption/Decryption with OpenSSL

Encryption

$ openssl enc -aes-256-cbc -in un_encrypted.data -out encrypted.data

Decryption

$ openssl enc -d -aes-256-cbc -in encrypted.data -out un_encrypted.data

Resource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment