c4

command
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

C4

非对称加密与身份识别

了解采用非对称加密技术实现去中心化身份识别的机制,掌握密钥与地址的 生成方法,以及身份验证的实现。

运行预置代码

1、secp256k1密钥与地址生成

在2#终端执行如下命令:

~/repo/go/src/hubwiz.com/c4$ go run key-secp256k1.go
2、ed25519密钥与地址生成

在2#终端执行如下命令:

~/repo/go/src/hubwiz.com/c4$ go run key-ed25519.go
3、数据签名与验证

在2#终端执行如下命令:

~/repo/go/src/hubwiz.com/c4$ go run sign-verify.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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