4 ms·
FYI, I think I see you using the P-256 curve in this project. Word of warning, this is not Bitcoin's curve. This is a NIST curve. The library you're using (fa
by tuxxy 9y ago
FYI, I think I see you using the P-256 curve in this project.
Word of warning, this is not Bitcoin's curve. This is a NIST curve.
The library you're using (fastecdsa) has secp256k1 available to use, if that's what you want to do.
- jnbiche 9y agoYes, it looks like this (and other differences) is why it's called a "Bitcoin-like" project. It also runs over HTTP instead of plain TCP/IP, so it can't be used as a Bitcoin node anyway (and there are numerous other differences). But it's a nice example of a Bitcoin-like project, and manages to get the main ideas of Bitcoin in as an educational project.
- jimrandomh 9y agoThe P-256 curve is rated as unsafe by https://safecurves.cr.yp.to/ https://safecurves.cr.yp.to/ .
- kendrick__ 9y agoI know, hence the 'bitcoin-like' title :-)