massalabs / massa

The Decentralized and Scaled Blockchain
https://massa.net
5.56k stars 712 forks source link

Crypto: move to Ed25519 #2743

Closed damip closed 2 years ago

damip commented 2 years ago

Discussed in https://github.com/massalabs/massa/discussions/2733

Originally posted by **damip** June 27, 2022 Consider switching from secp256k1 ECDSA to Ed25519 EdDSA because: * has better security features than secp256k1: http://safecurves.cr.yp.to/ * most commonly used scheme in Tezos, default on Solana and m any others * Faster than secp256k1 https://justmoon.github.io/curvebench/benchmark.html * safer and more standardized Schnorr / multisig implementations Some info: https://soatok.blog/2022/05/19/guidance-for-choosing-an-elliptic-curve-signature-algorithm-in-2022/
damip commented 2 years ago

@gregLibert https://pkg.go.dev/crypto/ed25519

This should solve all your problems, my friend !

Eitu33 commented 2 years ago

This has been done in https://github.com/massalabs/massa/pull/2744, can we close @damip?