Documentation ¶
Index ¶
- func AesCbcPkcs7Encrypt(text string, secretKeyBytes, ivBytes []byte) (string, error)
- func GenerateNewCode7Dig() (randomNumber string)
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5Unpadding(origData []byte) []byte
- func SignPKCS1v15FromXml(doc, prKey string) (string, error)
- func TripleEcbDesDecrypt(crypted, key []byte) ([]byte, error)
- func TripleEcbDesEncrypt(origData, key []byte) ([]byte, error)
- type XMLRsaKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesCbcPkcs7Encrypt ¶
func GenerateNewCode7Dig ¶
func GenerateNewCode7Dig() (randomNumber string)
func SignPKCS1v15FromXml ¶
func TripleEcbDesDecrypt ¶
[golang ECB 3DES Decrypt]
func TripleEcbDesEncrypt ¶
[golang ECB 3DES Encrypt]
Types ¶
Click to show internal directories.
Click to hide internal directories.