gen

package
v0.0.0-...-47eb281 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateECCKey

func GenerateECCKey(c elliptic.Curve, prefix string)

* 生成椭圆曲线非对称加密的私钥和公钥 * elliptic.Curve:elliptic.P521()/elliptic.P384()/elliptic.P256()

func GenerateRSAKey

func GenerateRSAKey(bits int, prefix string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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