Skip to content

Instantly share code, notes, and snippets.

View s7ephen's full-sized avatar

Stephen A. Ridley s7ephen

View GitHub Profile
@s7ephen
s7ephen / GhettoCrypt
Created October 11, 2017 04:43
Use the openssl binary/version on OSX to do symmetric crypto.
#!/bin/bash
# Use the openssl binary/version on OSX to do symmetric crypto.
# [email protected]
if [ "$#" != "2" ]
then
echo "Usage: ghettocrypt.sh encrypt file_to_encrypt.zip" 1>&2
echo " OR" 1>&2
echo "ghettocrypt.sh decrypt file_to_decrypt.zip.enc" 1>&2