Command line 最佳河豚命令行工具?

Command line 最佳河豚命令行工具?,command-line,encryption,blowfish,Command Line,Encryption,Blowfish,我们的应用程序需要使用(例如)Blowfish加密算法对文件进行加密/解密。我们知道这可能是一个不错的选择,但不能直接从应用程序中调用它(因为它会提示输入关键短语) 哪一个是现有的最佳选择 我们更喜欢Windows工具,不过Linux也不错。编程界面 命令行界面 例如: openssl enc -base64 -e -bf-cbc -in <infile> -out <outfile> -kfile <passphrase file> openssl enc

我们的应用程序需要使用(例如)Blowfish加密算法对文件进行加密/解密。我们知道这可能是一个不错的选择,但不能直接从应用程序中调用它(因为它会提示输入关键短语)

哪一个是现有的最佳选择

我们更喜欢Windows工具,不过Linux也不错。

编程界面

命令行界面

例如:

openssl enc -base64 -e -bf-cbc -in <infile> -out <outfile> -kfile <passphrase file>
openssl enc-base64-e-bf cbc-in-out-kfile

(用
-d
替换
-e
进行解密)

我找不到我喜欢的;所以我用围棋写了一个。这是:

示例:

$echo“你好,世界”| fish-e-k mysecret-

安装起来非常简单:

$go get github.com/prologic/fish

还支持Blowfish和较新的Twofish

省略
-kfile
以使openssl提示输入密码。