PKCS

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

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

解密

func AesEncrypt

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

加密

func GetReversalStr

func GetReversalStr(src string) string

字符串翻转

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