# secure-tool **Repository Path**: flashman2024/secure-tool ## Basic Information - **Project Name**: secure-tool - **Description**: 一个编码解码、加密解密工具 - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-03-26 - **Last Updated**: 2024-03-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Secure-tool 一款使用Golang编写的命令行编码解码、加密解密工具。 目前支持的编码方式(文件大小限制为10M): - Base64(支持三种模式:有填充、无填充、URL编码有填充、URL编码无填充) - 字符串编码、解码 - 文件编码、解码 - Hex - 字符串编码、解码 - 文件编码、解码 - Unicode - 字符串编码、解码 - 文件编码、解码 目前支持的哈希算法: - MD5 - 计算文件MD5 - 计算字符串MD5 - sha256 - 计算文件sha256 - 计算字符串sha256 目前支持的加密算法: - AES(使用CBC模式,PKCS7填充) - 字符串加密、解密 - 文件加密、解密 - RSA - 生成公钥、私钥 - 字符串加密、解密 其他功能: - uuid ## 安装方法 1、Linux系统 ```shell chmod 700 ./install.sh && ./install.sh ``` ## 使用方法 具体说明可以使用如下命令查看 ```shell st 子命令 -h ``` ## 使用到的开源项目 - https://github.com/spf13/cobra - https://github.com/atotto/clipboard - https://github.com/golang-design/clipboard - https://github.com/satori/go.uuid