Created
March 22, 2021 07:10
-
-
Save Loliver1224/37bef7cf8aff234a84fbf4c56d0a93f2 to your computer and use it in GitHub Desktop.
openssl コマンドによるファイル暗号化
This file contains 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
# 暗号化(-pass未指定だと標準入力,-aでBase64形式に,-iterで暗号化回数の指定を推奨(総当り攻撃対策)) | |
openssl aes-256-cbc -e -in [filename] -out [filename] -a -iter [int: iteration] [-pass pass:password | env:環境変数 | file:filename] | |
# 復号 | |
openssl aes-256-cbc -d -in [filename] -out [filename] -a -iter [int: iteration] [-pass pass:password | env:環境変数 | file:filename] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment