ecdsa

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL