liangaes

package module
v0.0.0-...-82480a6 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesCbcNoSaltDecrypt

func AesCbcNoSaltDecrypt(encrypted, key []byte, iv []byte) ([]byte, error)

func AesCbcNoSaltDecryptWithoutUnpadding

func AesCbcNoSaltDecryptWithoutUnpadding(encrypted, key []byte, iv []byte) ([]byte, error)

func AesCbcNoSaltEncrypt

func AesCbcNoSaltEncrypt(origData, key []byte, iv []byte) ([]byte, error)

func PKCS5Padding

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

func PKCS5UnPadding

func PKCS5UnPadding(origData []byte, blockSize int) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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