key

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeEcdsaPublicKey added in v1.1.0

func DecodeEcdsaPublicKey(public string) *ecdsa.PublicKey

func DecodeRsaPublicKey added in v1.1.0

func DecodeRsaPublicKey(public string) *rsa.PublicKey

func GenerateEcdsaKeys

func GenerateEcdsaKeys(curve string) (string, string)

func GenerateHmacKey

func GenerateHmacKey(size int, base64Encoded bool) []byte

func GenerateRsaKeys

func GenerateRsaKeys(bits int) (string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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