Hot answers tagged

27 votes
Accepted

Why does the all 0 public key have a known private key in SR25519 and ED25519?

Yes, it's a consequence of the Edwards curve models used, but secp256k1 is a short Weierstrass curve. Ed25519 has the identity (0,1) in Affine coordinates, meaning (0,1) + (0,1) = (0,1) in Ed25519. ...
Jeff Burdges's user avatar
12 votes

Why does the all 0 public key have a known private key in SR25519 and ED25519?

SR25519 is a Schnorr Signature protocol on top of the Ristretto compressed point format of the Ed25519 curve. Bitcoin and Ethereum both use the Secp256k1 elliptic curve. In elliptic-curve cryptography,...
rob's user avatar
  • 2,126
9 votes
Accepted

Why are sr25519 signatures non-deterministic?

A simple sr25519 signature remains secure even with actively malicious system randomness, and you can pass in your own RngCore to have deterministic test vectors, but.. In future, schnorrkel shall ...
Jeff Burdges's user avatar
6 votes
Accepted

How do ECDSA subkeys differ from Bitcoin/Ethereum keys?

The process of how the private keys are derived is slightly different. This applies to both the how the (parent) key is generated and then subsequent derivations on this. In BTC/ETC and most (all ...
Jaco's user avatar
  • 5,865
2 votes

How do ECDSA subkeys differ from Bitcoin/Ethereum keys?

In Substrate related blockchains the account id is derived from the public key using SS58 encoding. See here: https://docs.substrate.io/v3/advanced/ss58/
Davide Galassi's user avatar
2 votes

Can I use ECDSA address which is compatible with Ethereum as the Native address in a substrate based blockchain?

AFAIK substrate supports a couple of signature schemes, among them secp256k1. Moonbeam is a chain built with substrate which uses Ethereum-compatible unified accounts. I suggest looking at their docs ...
Adam Wierzbicki's user avatar
1 vote
Accepted

How to Implement P2P Encryption with sr25519 key pair using NaCl or alternatives?

Okay, I found a way to accomplish this; I need to use a shared secret key. The @polkadot/wasm-crypto library has a method for it. I had to conduct research on encryption to find the appropriate code ...
Oleh Mell's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible