mirror of
https://git.numenor-labs.us/dsfx.git
synced 2025-04-29 08:10:34 +00:00
switch to x25519 ecdh curve
This commit is contained in:
parent
ff81b1bc3e
commit
a02bf1b03d
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
// DefaultDHCurve is the default elliptic curve used for signing.
|
// DefaultDHCurve is the default elliptic curve used for signing.
|
||||||
DefaultDHCurve = ecdh.P384
|
DefaultDHCurve = ecdh.X25519
|
||||||
)
|
)
|
||||||
|
|
||||||
// GenerateDHKey generates a new ECDH private key for key exchange.
|
// GenerateDHKey generates a new ECDH private key for key exchange.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user