Documentation ¶
Index ¶
- func CreateECDSA() (*ecdsa.PrivateKey, error)
- func Decrypt(privateKey *ecdsa.PrivateKey, msg []byte) ([]byte, error)
- func Encrypt(publicTo, message []byte) ([]byte, error)
- func GetKeyBytes(prk *ecdsa.PrivateKey, pub *ecdsa.PublicKey) ([]byte, []byte, error)
- func LoadBase64PublicKey(b64 string) (*ecdsa.PublicKey, []byte, error)
- func LoadPublicKey(h []byte) (*ecdsa.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateECDSA ¶
func CreateECDSA() (*ecdsa.PrivateKey, error)
func GetKeyBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.