crypto

package
v0.0.0-...-183aa75 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESDecryptCBC

func AESDecryptCBC(key, iv, encrypted []byte) (origData []byte, err error)

func AESEncryptCBC

func AESEncryptCBC(key, iv []byte, origData []byte) (encrypted []byte, err error)

func PKCS7Padding

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

func UnPadding

func UnPadding(origData []byte) ([]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