For symmetic encryption, you can use the following:
To encrypt:
openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt
To decrypt:
| # Install ffmpeg | |
| brew install ffmpeg | |
| # Download | |
| ffmpeg -i https://foo.com/bar.m3u8 -c copy -bsf:a aac_adtstoasc output.mp4 |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |