13 lines
405 B
Go
13 lines
405 B
Go
package keys
|
|
|
|
// SigningAlgo defines an algorithm to derive key-pairs which can be used for cryptographic signing.
|
|
type SigningAlgo string
|
|
|
|
const (
|
|
// Secp256k1 uses the Bitcoin secp256k1 ECDSA parameters.
|
|
Secp256k1 = SigningAlgo("secp256k1")
|
|
// Ed25519 represents the Ed25519 signature system.
|
|
// It is currently not supported for end-user keys (wallets/ledgers).
|
|
Ed25519 = SigningAlgo("ed25519")
|
|
)
|