security

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 14 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBase64String added in v0.0.10

func DecodeBase64String(value string) (string, error)

func EncodeString added in v0.0.10

func EncodeString(value string) (string, error)

func NewRsaSelfSignedCertificate added in v0.0.19

func NewRsaSelfSignedCertificate(privateKey *rsa.PrivateKey, publicKey *rsa.PublicKey) *x509.Certificate

func SHA256Encode

func SHA256Encode(value string) string

SHA256Encode Hash string with SHA256

Types

type SelfSignedCertificate added in v0.0.19

type SelfSignedCertificate struct {
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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