Is it secure to disclose the personal key that generates the R nonce in schnorr sigs?

on

|

views

and

comments


No, it’s not secure. If the random nonce ok is revealed, the counterparty can calculate your personal key.

A Schnorr signature consists of two scalars (r,s). The place r is the x coordinate of a degree R generated from a random nonce ok. If I perceive you proper, you’re asking whether or not it’s secure to disclose this ok.

A Schnorr signature is generated within the following method:

  • m: message
  • x: personal key
  • P: public key; P = x×G
  • ok: random nonce
  • R: random level; R = ok×G
  • r = R.x (x coordinate of random level R)
  • s = ok + hash(P,R,m)•x

If either side of the final equation are multiplied with the generator level G:

s = ok + hash(P,R,m)•x
s×G = (ok + hash(P,R,m)•x)×G
s×G = ok×G + hash(P,R,m)•x×G
s×G = R + hash(P,R,m)•P

So, any third social gathering can examine whether or not the signature is legitimate by plugging (r,s), the message m from the context of the transaction, and the general public key P from both the prior output or the witness construction into:

s×G = R + hash(P,R,m)•P

If the equation holds, the signature proves that the signer knew the personal key x equivalent to the general public key P.

No, it isn’t secure to share ok, as a result of given ok the counterparty can resolve for the personal key on this equation solely composed of scalars:

x = (s - ok) / hash(P,R,m)

Share this
Tags

Must-read

Aeva Delivers Atlas C-Samples to Daimler Truck for Autonomous Truck Manufacturing Program

MOUNTAIN VIEW, Calif., Might 6, 2026 – Aeva® (Nasdaq: AEVA), a frontrunner in next-generation sensing and notion programs, at this time introduced it...

‘Look, no palms’: China chases the driverless dream at Beijing automobile present | Self-driving vehicles

At the world’s greatest automobile truthful, which opened in Beijing on Friday, there have been tons of of producers, greater than 1,000 automobiles,...

From Black Field to Glass Field: AV 3.0, Bodily AI, and the Way forward for Lengthy-Haul Trucking

All of it started with rules-based, open ebook software program. In 2007, the Torc crew VictorTango drove Odin, a 2005 Ford Escape hybrid...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here