des

package
v0.0.0-...-fc9fbc1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptDES

func DecryptDES(enc, key, iv []byte) ([]byte, error)

使用des进行解密 @param enc 已加密数据 @param key 八字节密匙 @param iv 八字节CBC模式的初始化向量

func EncryptDES

func EncryptDES(src, key, iv []byte) ([]byte, error)

使用des进行对称加密 @param src 未加密源数据 @param key 八字节密匙 @param iv 八字节CBC模式的初始化向量

Types

This section is empty.

Jump to

Keyboard shortcuts

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