util

package
v0.0.0-...-5fd5097 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptWithPubKey

func EncryptWithPubKey(msg []byte, pub *rsa.PublicKey) ([]byte, error)

func ParsePubKey

func ParsePubKey(key string) (*rsa.PublicKey, error)

func PubKeyToString

func PubKeyToString(key *rsa.PublicKey) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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