Documentation
¶
Index ¶
- func AesDecrypt(data, key, iv []byte) ([]byte, error)
- func AesEncrypt(data, key []byte) ([]byte, []byte, error)
- func Padding(src []byte, blockSize int) []byte
- func PublicBytes(buf []byte) ([]byte, error)
- func ReadPublicKey(filename string) ([]byte, error)
- func RsaPemPriDecrypt(enc string, privateKey string) (string, error)
- func RsaPemPriEncrypt(src string, privateKey string) (string, error)
- func RsaPemPubDecrypt(enc string, publicKey string) (string, error)
- func RsaPemPubEncrypt(src string, publicKey string) (string, error)
- func UnPadding(src []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublicBytes ¶
func ReadPublicKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.