encrypt

package
v0.0.0-...-57ed434 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(key string, encrypt string) (string, error)

func AesEncrypt

func AesEncrypt(plainText string, key string) (string, error)

func PKCS7UnPadding

func PKCS7UnPadding(plantText []byte) []byte

func SHA1

func SHA1(source string) string

func SHA256

func SHA256(source string) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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