endedes

package
v0.0.0-...-298ae05 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DesCbcDecrypt

func DesCbcDecrypt(cipherText, key []byte, ivDes ...byte) ([]byte, error)

CBC解密

func DesCbcEncrypt

func DesCbcEncrypt(src, key []byte) ([]byte, error)

CBC加密

func PKCS5Padding

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

补码

func PKCS5UnPadding

func PKCS5UnPadding(src []byte) []byte

func TripleDesDecrypt

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

func TripleDesEncrypt

func TripleDesEncrypt(src, 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