Documentation ¶
Index ¶
- func DecodeEcdsaPrivateKey(ecdsaPrivateKeyBytes []byte) *ecdsa.PrivateKey
- func DecodeEcdsaPubKeyFrom(ecdsaPublicKeyBytes []byte) (*ecdsa.PublicKey, error)
- func Decrypt(privateKey *ecies.PrivateKey, encryptedData []byte) (m []byte, err error)
- func EncodeEcdsaPrivateKey(prv *ecdsa.PrivateKey) []byte
- func EncodeEcdsaPubKey(pub *ecdsa.PublicKey) []byte
- func Encrypt(publicKey *ecies.PublicKey, data []byte) (m []byte, err error)
- func ExtractEcdsaPubKeyHexFromKeyPrivateKey(prv *ecdsa.PrivateKey) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeEcdsaPrivateKey ¶
func DecodeEcdsaPrivateKey(ecdsaPrivateKeyBytes []byte) *ecdsa.PrivateKey
func DecodeEcdsaPubKeyFrom ¶
func Decrypt ¶
func Decrypt(privateKey *ecies.PrivateKey, encryptedData []byte) (m []byte, err error)
func EncodeEcdsaPrivateKey ¶
func EncodeEcdsaPrivateKey(prv *ecdsa.PrivateKey) []byte
func EncodeEcdsaPubKey ¶
func ExtractEcdsaPubKeyHexFromKeyPrivateKey ¶
func ExtractEcdsaPubKeyHexFromKeyPrivateKey(prv *ecdsa.PrivateKey) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.