encryptutil

package
v0.0.0-...-22c6f36 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESCBCPKCS5Decrypt

func AESCBCPKCS5Decrypt(ciphertext, key []byte) ([]byte, error)

func AESCBCPKCS5DecryptBase64

func AESCBCPKCS5DecryptBase64(ciphertext, key32 string) (string, error)

func AESCBCPKCS5Encrypt

func AESCBCPKCS5Encrypt(key []byte, vector []byte, data []byte) ([]byte, error)

func AESCBCPKCS5EncryptBase64

func AESCBCPKCS5EncryptBase64(str32 string, data string) (string, error)

func PKCS5Padding

func PKCS5Padding(ciphertext []byte, blockSize int) []byte

func PKCS5Unpadding

func PKCS5Unpadding(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