Documentation ¶
Overview ¶
cifrado
cifrado
cifrado
cifrado
Index ¶
- func AesDecrypt(crypted, key []byte) ([]byte, error)
- func AesEncrypt(origData, key []byte) ([]byte, error)
- func ECCDecrypt(ct []byte, prk ecies.PrivateKey) ([]byte, error)
- func ECCEncrypt(pt []byte, puk ecies.PublicKey) ([]byte, error)
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
- func RsaDecrypt(ciphertext []byte) ([]byte, error)
- func RsaEncrypt(origData []byte) ([]byte, error)
- type AES
- type Cifrado
- type ECC
- type RSA
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecrypt ¶
func AesEncrypt ¶
func ECCDecrypt ¶
func ECCDecrypt(ct []byte, prk ecies.PrivateKey) ([]byte, error)
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.