-
-
Save Passw/fc59db872ab8341202bc8ea1b085f5d4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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