Documentation
¶
Index ¶
- func AesDecryptCBC(encrypted string, key string) (string, error)
- func AesEncryptCBC(orig string, key string) (string, error)
- func GetRsaKeyPair() (string, string, error)
- func PKCS7Padding(ciphertext []byte, blocksize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
- func RsaDecrypt(cipherText []byte, privateKey []byte) ([]byte, error)
- func RsaEncrypt(origData []byte, publicKey []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.