des

package
v0.0.0-...-2ee7e5b Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DesDecryption

func DesDecryption(key, iv, cipherText []byte) ([]byte, error)

func DesEncryption

func DesEncryption(key, iv, plainText []byte) ([]byte, error)

func PKCS5Padding

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

func PKCS5UnPadding

func PKCS5UnPadding(origData []byte) []byte

func TripleDesDecrypt

func TripleDesDecrypt(data, key []byte) ([]byte, error)

func TripleDesEncrypt

func TripleDesEncrypt(data, key []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