crypto

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodePublicKey

func DecodePublicKey(pemkey string) (*rsa.PublicKey, error)

func EncodeMessage

func EncodeMessage(msg []byte, pubkey *rsa.PublicKey) ([]byte, error)

func EncodeTextMessage

func EncodeTextMessage(msg string, pemPublicKey string) (string, error)

func Init

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

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