1. ๋์นญํค ์์ฑ
- DES ์๊ณ ๋ฆฌ์ฆ ์ฌ์ฉ
openssl genrsa -des3 -out privatekey.pem
2. ์ํธํ
- ๋น๊ณต๊ฐํค ์ฌ์ฉ
openssl rsautl -encrypt -inkey privatekey.pem -in plaintext.txt -out ciphertext.txt
3. ๋ณตํธํ
- ๋น๊ณต๊ฐํค ์ฌ์ฉ
openssl rsautl -decrypt -inkey privatekey.pem -in ciphertext.txt -out plaintext_out.txt
'Security' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
์ธ์ฆ์ ์ฒด์ธ ๐ (0) | 2021.07.13 |
---|---|
SSL ์ธ์ฆ์ ์ข ๋ฅ (1) | 2021.07.06 |
์ธ์ฆ์์ ์ ์ ์๋ช (๋์งํธ ์๋ช ) ๐ ๐ (0) | 2021.06.14 |
OpenSSL์ ์ด์ฉํ ๋น๋์นญํค ์ํธํ (0) | 2021.06.07 |
Security (0) | 2020.06.06 |