util

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TimeFormat = time.RFC3339
)

Functions

func DecryptRSA

func DecryptRSA(src []byte, path string) ([]byte, error)

func EncryptRSA

func EncryptRSA(src []byte, keyPath string) ([]byte, error)

func Pow2

func Pow2(exp int64) int64

func RSAGenKey

func RSAGenKey(bits int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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