des

package
v0.0.0-...-f98aff7 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CBCDecrypt

func CBCDecrypt(encrypt, key []byte) ([]byte, error)

CBCDecrypt DES解密

func CBCDecryptString

func CBCDecryptString(encryptBase64Str string, key []byte) ([]byte, error)

CBCDecryptString DES解密

func CBCEncrypt

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

CBCEncrypt DES对称加密CBC模式加密

func CBCEncryptToBase64String

func CBCEncryptToBase64String(origData, key []byte) (string, error)

CBCEncryptToBase64String DES对称加密CBC模式加密返回base64编码

func TripleDecrypt

func TripleDecrypt(encrypt, key []byte) ([]byte, error)

func TripleDecryptString

func TripleDecryptString(encryptBase64Str string, key []byte) ([]byte, error)

func TripleEncrypt

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

func TripleEncryptToBase64String

func TripleEncryptToBase64String(origData, key []byte) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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