des

package
v0.0.0-...-b15094b Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ECBDecrypt

func ECBDecrypt(crypted, key []byte) ([]byte, error)

ECB Des解密

func ECBEncrypt

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

ECB Des加密

func PKCS5Padding

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

ECB PKCS5Padding

func PKCS5UnPadding

func PKCS5UnPadding(origData []byte) []byte

ECB PKCS5UnPadding

func TripleEcbDesDecrypt

func TripleEcbDesDecrypt(crypted, key []byte) ([]byte, error)

[golang ECB 3DES Decrypt]

func TripleEcbDesEncrypt

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

[golang ECB 3DES Encrypt]

Types

This section is empty.

Jump to

Keyboard shortcuts

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