crypto

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESDecrypt

func AESDecrypt(cryptedData, key []byte) ([]byte, error)

AESDecrypt - AES decryption

func AESEncrypt

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

AESEncrypt - AES encryption

func PKCS5Padding

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

PKCS5Padding - padding algorithm

func PKCS5UnPadding

func PKCS5UnPadding(origData []byte) []byte

PKCS5UnPadding - unpadding algorithm

Types

This section is empty.

Jump to

Keyboard shortcuts

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