keygen

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKeyGenerator

func NewKeyGenerator(algo Algorithm) cccsp.KeyGenerator

NewKeyGenerator creates a new key generator

Types

type Algorithm

type Algorithm string

Algorithm defines key generation algorithm

var (
	ECDSA256 Algorithm = "ECDSA256"
	ECDSA384 Algorithm = "ECDSA384"
	ECDSA521 Algorithm = "ECDSA521"
	RSA2048  Algorithm = "RSA2048"
	RSA3072  Algorithm = "RSA3072"
	RSA4096  Algorithm = "RSA4096"
	AES16    Algorithm = "AES16"
	AES24    Algorithm = "AES24"
	AES32    Algorithm = "AES32"
)

vars

Jump to

Keyboard shortcuts

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