Documentation ¶
Index ¶
- Variables
- func Decrypt(data []byte, key, iv []byte) ([]byte, error)
- func Encrypt(data []byte, key, iv []byte) ([]byte, error)
- func PKCS7Padding(data []byte) []byte
- func ParsePrivatePem(value string) (pri, pub interface{}, err error)
- func ParsePublicPem(value string) (interface{}, error)
- func UnPKCS7Padding(data []byte) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var ECDSA ecdsaKey
ECDSA Private Key
View Source
var Public publicKey
Public Key
View Source
var RSA rsaKey
RSA Private Key
Functions ¶
func PKCS7Padding ¶
func ParsePrivatePem ¶
func ParsePublicPem ¶
func UnPKCS7Padding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.