Documentation ¶
Overview ¶
ADAPTED FROM: https://github.com/Layr-Labs/eigensdk-go/blob/dev/crypto/ecdsa/utils.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteKey ¶
func WriteKey(path string, privateKey *ecdsa.PrivateKey, password string) error
WriteKey writes the private key to the given path The key is encrypted using the given password This function will create the directory if it doesn't exist If there's an existing file at the given path, it will be overwritten.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.