Versions in this module Expand all Collapse all v1 v1.0.1 Nov 5, 2023 v1.0.0 Nov 5, 2023 Changes in this version + func CreateKey() (string, string) + func ECCDecrypt(ct []byte, privateKey string) ([]byte, error) + func ECCEncrypt(pt []byte, publicKey string) ([]byte, error) + func ECCSign(plainText []byte, priPath string) ([]byte, []byte, error) + func ECCVerify(plainText, rText, sText []byte, pubPath string) (bool, error) + func EccDecrypt(cipherText []byte, filePath string) (plainText []byte, err error) + func EccEncrypt(plainText []byte, filePath string) ([]byte, error) + func Ecrecover(data []byte, signature string) (string, error) + func GenerateECCKey(keySize int, dirPath string) error + func GetPublicKeyByPrivateKey(privateKey string) (string, error) + func Sign(privateKey string, data []byte) (string, error) + func Verify(publicKey string, data []byte, signature string) bool