Last active
January 20, 2018 05:32
-
-
Save grugq/5330cbb905e88ed7b9d371e639adb488 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# 4633c8a2a16a8e0428d253baafb76bbc18f29562390c84d1c85ba98865531a2b | |
CRYPTER="base64 -b 78" | |
HEADER="----BEGIN PGP MESSAGE----" | |
FOOTER="-----END PGP MESSAGE-----" | |
do_encryption() { | |
local plain="$1" | |
echo $HEADER | |
echo $plain | $CRYPTER | |
echo $FOOTER | |
} | |
do_encryption $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, will be using this for my upcoming project MilkRoad, a hidden service to buy milk off strangers.
Check my GH and TWTR for more misinformation.