protocol

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 5 Imported by: 0

README

Protocol工具

Protocol工具提供了丰富的功能:

  1. wallet账户的批量生成和导入导出
  2. 鉴权token的生成和校验
  3. 根据指定算法进行签名和验签
  4. seed的加密和解密
  5. IM数据帧的校验
  6. dh算法加解密

注意:以下操作如非特殊说明,默认在工程根目录下(工程根目录为仓库根目录的protocol文件夹下)


编译

依赖
  1. git
  2. golang1.17
  3. gcc

在工程根目录下执行:

make build

交叉编译等其他详细编译选项参考:

make help

使用

查看帮助:

protocol -h

查看版本号:

protocol --version
#或
protocol version

其他命令参考:命令详细描述文档

Documentation

Overview

Copyright © 2022 oofpgDLD <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis
cmd
dh
Package dh
Package dh
frame
Package frame
Package frame
seed
Package seed
Package seed
dh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL