Documentation ¶
Index ¶
- func DecryptWithRSA(base64Data string, privateKeyPath string) ([]byte, error)
- func EncryContentWithAES(data string, aesKey []byte, aesIv []byte) (string, error)
- func EncryptWithRSA(data []byte, publicKeyPath string) (string, error)
- func NewCBCDecrypter(key []byte, iv []byte, ciphertext []byte) ([]byte, error)
- func SignParamsWithRSA(data string, privateKeyPath string) (string, error)
- func VerifySignWithRSA(data string, base64Sign string, rasPublicKeyPath string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryContentWithAES ¶
func NewCBCDecrypter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.