Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct {
*ecdsa.PrivateKey
Ed25519Private ed25519.PrivateKey
ECIESPrivate *ecies.PrivateKey
EthereumAddress common.Address
}
Key is an ECDSA keypair with SECP256K1 curve which is compatible with Ethereum (ECDSA), ECIES and Ed25519 (BigchainDB, by deriving a key).
func DeriveFromPassword ¶
DeriveFromPassword uses PBKDF2 with
func FromECDSA ¶
func FromECDSA(key *ecdsa.PrivateKey) *Key
Click to show internal directories.
Click to hide internal directories.