rsa key가 직접적인 노출이 되는것이 우려될 때,
다음과 같이 encryption하여 보관하고 encryption할 때 쓴 key값을 이용해 필요할때는 decryption해서 쓰는 방법이 있다.
#How to encrypt
openssl enc -in plain_file -out encrypted_file -aes256 -k utto
#How to decrypt
openssl enc -in encrypted_file -out decrypted_file -d -aes256 -k utto
댓글