crypto

package
v0.0.0-...-730ab85 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HmacSha1

func HmacSha1(keyStr, text string) string

func HmacSha256

func HmacSha256(keyStr, text string) string

func Md5File

func Md5File(path string) (string, error)

func Md5Read

func Md5Read(read io.Reader) string

func ReadPEM

func ReadPEM(pem string) (*x509.CertPool, error)

func ReadTls

func ReadTls(certFile, keyFile string) ([]tls.Certificate, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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