Documentation ¶
Index ¶
- Constants
- func CalcPBOCMacDES(key []byte, iv []byte, data []byte, macLen int) ([]byte, error)
- func DESECB(keyValue []byte, txtValue []byte, flag int) ([]byte, error)
- func GetSubKeyDES(ckKey []byte, dvsData []byte) ([]byte, error)
- func TripleDESECB(keyValue []byte, txtValue []byte, flag int) ([]byte, error)
Constants ¶
View Source
const ( // DECRYPT 解密模式 DECRYPT = 0 // ENCRYPT 加密模式 ENCRYPT = 1 )
Variables ¶
This section is empty.
Functions ¶
func CalcPBOCMacDES ¶
CalcPBOCMacDES pboc mac 3des
func GetSubKeyDES ¶
GetSubKeyDES 密钥分散
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.