Questions tagged [sr25519]
The sr25519 tag has no usage guidance.
6
questions
0
votes
0
answers
16
views
How to Implement P2P Encryption with sr25519 key pair using NaCl or alternatives?
I am currently working on a project that involves P2P encryption using Substrate addresses and sr25519 cryptographic keys. However, I am encountering difficulties in implementing encryption and ...
0
votes
1
answer
174
views
How to generate a new account with seed using rust? [duplicate]
I tried the following code, using method generate.
https://paritytech.github.io/substrate/master/sp_core/crypto/trait.Pair.html#method.generate
use sp_core::{
sr25519,
ed25519,
Pair,
};
...
6
votes
1
answer
307
views
Why are sr25519 signatures non-deterministic?
According to the polkadot.js docs, both ed25519 and ecdsa signatures are deterministic (given the message and private key, it always produces the same signature). However sr25519 is not.
I understand ...
1
vote
1
answer
101
views
Can I use ECDSA address which is compatible with Ethereum as the Native address in a substrate based blockchain?
For my project, I have to build a blockchain using ECDSA address in order to be compatible with Ethereum. But the native address is in sr25519 scheme in substrate. What should I do to implement this? ...
4
votes
2
answers
191
views
How do ECDSA subkeys differ from Bitcoin/Ethereum keys?
As far as I understand, besides the ed25519 and sr25519 signatures, there is a compatibility mode for ECDSA keypairs that should use the secp256k1 curve.
Both Bitcoin and Ethereum use the secp256k1 ...
29
votes
2
answers
28k
views
Why does the all 0 public key have a known private key in SR25519 and ED25519?
We have seen evidence that users can sign messages using the SR25519 and ED25519 public key with all zeros.
Why or how is the private key to this public key known?
Are there any other things users ...