key

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeEcdsaPublicKey

func DecodeEcdsaPublicKey(public string) *ecdsa.PublicKey

func DecodeRsaPublicKey

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