Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decrypt ¶
func Decrypt(priv *PrivateKey, ciphertext []byte) ([]byte, error)
Decrypt decrypts a ciphertext using a private key
Types ¶
type PrivateKey ¶
type PrivateKey = eciesgo.PrivateKey
func GenerateKeyFromSeed ¶
func GenerateKeyFromSeed(seed []byte) (*PrivateKey, error)
GenerateKeyFromSeed generates secp256k1 key pair from []byte seed
Click to show internal directories.
Click to hide internal directories.