Skip to content

superj80820/file-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

透過簡單的指令使用密碼將檔案加密與解密

怎麼運作?

加密

$ docker run -it -v ${PWD}:/app/file superj80820/fileencryption

輸入加密密碼,選擇需加密的檔案與輸出檔名,

之後加密檔案就會產生。

解密

$ docker run -it -v ${PWD}:/app/file superj80820/fileencryption

輸入解密密碼,選擇需解密的檔案與輸出檔名,

之後解密檔案就會產生。


如要批次運行,可輸入以下指令

$ docker run -it -v ${PWD}:/app/file superj80820/fileencryption -c <InputFile>:<OutputFile>:<Encrypt Or decrypt>

e.g.

$ docker run -it -v ${PWD}:/app/file superj80820/fileencryption -c .env:.env.local:Encrypt -c .env:.env.test:Decrypt

Reference

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published