crypt

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(str string, newKey string, newIV string) ([]byte, error)

func AseEncrypt

func AseEncrypt(str []byte, newKey []byte, newIV []byte) (string, error)

func PKCS7Padding

func PKCS7Padding(src []byte, blockSize int) ([]byte, error)

func PKCS7UnPadding

func PKCS7UnPadding(origData []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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