Questions tagged [ed25519]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
98 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, }; ...
Amiya Behera's user avatar
4 votes
2 answers
147 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 ...
q9f's user avatar
  • 287
6 votes
1 answer
135 views

How do I verify a signature signed using Polkadot.js app with rust code

I am trying to write a discord bot using rust/serenity to verify signature signed using polkadot.js app. I use schnorrkel crate, wrap the message in <Bytes>...</Bytes> and use the verify ...
TheDuck's user avatar
  • 105
28 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 ...
Shawn Tabrizi's user avatar
  • 14.9k