Last active
October 4, 2018 00:18
-
-
Save masahide/62e5a303ddb04aa327f8e9a9bedbf2dd to your computer and use it in GitHub Desktop.
opensslコマンドで共通鍵によるブルートフォースアタックに備えた暗号化を行う(復号も) ref: https://qiita.com/yamasaki-masahide/items/20c34391bd2484f88ef7
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
docker run -v $PWD:/work fedora:29 openssl aes-256-cbc -e -pass file:/work/pass.txt -in /work/input.txt -out /work/enc -iter 654321 -salt |
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
docker run -v $PWD:/work fedora:29 openssl aes-256-cbc -d -pass file:/work/pass.txt -in /work/enc -out /work/dec -iter 654321 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment