encrypt

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SealBoxDecrypted

func SealBoxDecrypted(k string, data []byte) (res []byte, err error)

func SealBoxEncrypted

func SealBoxEncrypted(k string, data []byte) (res []byte, err error)

Types

type RsaPemPrivateKey

type RsaPemPrivateKey struct {
	Private []byte
	Public  []byte
}

func GenerateRsaKeyPem

func GenerateRsaKeyPem(bitSize int) (res *RsaPemPrivateKey, err error)

Jump to

Keyboard shortcuts

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