Created
February 29, 2012 21:19
-
-
Save kgriffs/1944487 to your computer and use it in GitHub Desktop.
Encrypting a password with an RSA key on Windows
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
echo|set /p="toomanysecrets" | openssl rsautl -encrypt -inkey public-key.pem -pubin | openssl base64 > secret.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment