encrypt

package
v0.0.0-...-c053876 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 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, cipherText []byte) ([]byte, error)

func DesEncryption

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

func PKCS5Padding

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

用余数填充

func PKCS5UnPadding

func PKCS5UnPadding(src []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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