encrypt

package
v1.2.17 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(crypted, key []byte) ([]byte, error)

AesDecrypt defined

func AesEncrypt

func AesEncrypt(origData, key []byte) ([]byte, error)

AesEncrypt deifned

func DesDecrypt

func DesDecrypt(crypted, key []byte) ([]byte, error)

DesDecrypt defined

func DesEncrypt

func DesEncrypt(origData, key []byte) ([]byte, error)

DesEncrypt defined

func SignWithPKCSV1SHA1

func SignWithPKCSV1SHA1(playload map[string]string, privateKey string) (string, error)

SignWithPKCSV1SHA1 defined

func VerifyWithPKCSV1SHA1

func VerifyWithPKCSV1SHA1(playload map[string]string, signed, publicKey string) error

VerifyWithPKCSV1SHA1 defined

Types

This section is empty.

Jump to

Keyboard shortcuts

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