Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/pingpongplus/safeguard
通用工具加密/解密工具密码学学习与教育
GitHubpingpongplus/safeguard

SafeGuard

仅用于学习目的的 Go 语言 CLI 加密工具

查看仓库
61924天前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
Safeguard Logo
./safeguard --version
1.0

Safeguard-Terminal


Safeguard 是一个用 Go 编写的快速、轻量、跨平台的命令行文件加密工具。

安全须知

本项目是一个面向学习的文件加密工具。

虽然它使用了 Go 标准库中的标准密码学原语 (例如用于认证加密的 AES-GCM),但它并未使用现代、 内存硬密码密钥派生函数,如 Argon2 或 scrypt。

相反,密钥是使用一种轻量级、仅依赖标准库的方法派生的。 这意味着:

  • 加密可抵御随意查看
  • 完整性篡改可被检测
  • 密码未受到强保护,无法抵御有决心的暴力破解或基于 GPU 的攻击

请勿使用此工具,因为你的密钥是明文,并且会被保存在终端历史记录中

预期用途:

  • 学习和实验
  • 个人或低风险文件保护
  • 开源协作与改进

安装

构建(需要 Go)

git clone https://github.com/pingplus/SafeGuard.git
cd SafeGuard
go build

用法

通用语法:

./safeguard <file> <action> <cipher> [options]

操作:

  • --encrypt 或 e 加密文件
  • --decrypt 或 d 解密文件
  • --decrypt-directory 或 de 解密整个目录(抱歉,目录解密功能尚不可用 :( )

选项:

  • --inplace 就地解密/加密文件(实验性)
  • --key 添加密钥
  • --output 指定输出名称

支持的加密算法:

./safeguard --list-ciphers
[i] Available ciphers:
  xor
  caesar
  aes

AES

加密文件:

./safeguard secret.txt e aes --key "your-strong-password"
# or
./safeguard secret.txt --encrypt aes --key "your-strong-password" --output secret.txt.aes

解密文件:

./safeguard secret.txt d aes --key "your-strong-password"
# or
./safeguard secret.txt --decrypt aes --key "your-strong-password" --output secret.txt.dec

更多

  • 使用 AES 加密并就地写入:
./safeguard secrets.txt e aes --key "123123123123123123123123" --inplace
# -> creates secrets.txt but encrypted
  • 使用 AES 解密并指定输出文件:
./safeguard secrets.txt.aes d aes --key "123123123123123123123123" --output secrets_decrypted.txt
下载工具