Documentation ¶
Index ¶
- func Decrypt4PemByPriKey(input []byte, privateKey string) ([]byte, error)
- func Decrypt4PemByPubKey(input []byte, publicKey string) ([]byte, error)
- func Encrypt2PemByPriKey(input []byte, privateKey string, block pem.Block) ([]byte, error)
- func Encrypt2PemByPubKey(input []byte, publicKey string, block pem.Block) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decrypt4PemByPriKey ¶
私钥解密
func Decrypt4PemByPubKey ¶
公钥解密
func Encrypt2PemByPriKey ¶
私钥加密
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.