Skip to content

Instantly share code, notes, and snippets.

@grugq grugq/PrettyGoodPGP.sh
Last active Jan 20, 2018

Embed
What would you like to do?
#!/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 $*
@Miladiir

This comment has been minimized.

Copy link

Miladiir commented Apr 5, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.