Ethereum: Why is there no loss of security when using 32-byte public keys in Schnorr signatures instead of 33?
I can provide you with an article on this topic. However, I need to clarify that there is no specific discussion or question about truncating 33-byte public keys from Schnorr signatures on Ethereum.
That being said, here is a draft article based on my understanding of the topic:
Ethereum: Why No Security Loss Occurs With 32-byte Public Keys and Schnorr Signatures
Public keys are the unique identifiers of digital assets, allowing users to securely access their cryptographic keys. In Ethereum, public keys are represented as (x, y) coordinates, where x represents the private key and y represents the associated public key.
When it comes to Schnorr signatures, a type of digital signature used in Ethereum transactions, there is currently a discussion about using 32-byte public keys instead of the standard 33-byte format. Specifically, some users are asking why no security loss occurs when using shorter public keys.
What are Schnorr signatures?
Schnorr signatures are a type of digital signature that allows users to sign messages without revealing their private key. They use a one-way hash function and a secret number called a “secret value”(s) to create a unique identifier for each message. This identifier is then used to generate a digital signature, which is hashed with the user’s private key.
The 33-byte format
In Ethereum, public keys are typically represented as (x, y) coordinates, where x represents the private key and y represents the associated public key. The standard format for these coordinates is 32 bytes long, consisting of:
- X coordinate: a 256-bit random value
- Y coordinate: a 256-bit random value
The trade-off
When using Schnorr signatures with shorter public keys (e.g. 31 bytes), some users argue that no loss of security occurs because the shortened key is still long enough to generate the necessary secret values. Shortening the key can improve efficiency, as it reduces the computational overhead associated with generating and verifying the digital signature.
However, this argument assumes that the shorter key is still valid and secure. In reality, the shorter key may not be valid for all cryptographic operations, such as encryption or signing large messages. Furthermore, some users may argue that using a longer key provides more flexibility and reliability when it comes to cryptographic operations.
Conclusion
While there are valid arguments on both sides of this discussion, there is still no consensus on whether using 32-byte public keys in Schnorr signatures on Ethereum is secure or not. The debate continues and it is essential for users to stay up to date with the latest developments and updates from the Ethereum community.
In conclusion, while using shorter public keys can provide some benefits, such as increased efficiency and flexibility, there is no loss of security incurred when using these shortened keys. However, users should be aware of the potential downsides and risks associated with shortening their public keys before making a decision.
Please note that this article is based on my understanding of the topic and I am not an expert in cryptography or Ethereum development. If you have any specific questions or concerns about Schnorr signatures or 32-byte public keys on Ethereum, feel free to ask!