I can give you an article on this topic. However, I must clarify that there is no specific discussion or question about truncating 33-byte public keys from Schnorr signatures in Ethereum.
That said, here’s a draft article based on my understanding of the topic:
Ethereum: 32-byte public keys and Schnorr signatures
Public keys are unique identifiers for digital assets, which allow 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 the associated public key.
When it comes to Schnorr signatures, a type of digital signature used in Ethereum transactions, the use of 32-byte public keys instead of the standard 33-byte format is currently under discussion. In particular, some users ask why there is no loss of security 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.
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 and consists of:
- X-coordinate: random 256-bit value
- Y-coordinate: random 256-bit value
Exchange
When using Schnorr signatures with shorter public keys (e.g. 31-byte), some users argue that there is no loss of security because the shortened key is still long enough to generate the necessary secret values. Key shortening can actually improve efficiency by reducing 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, a shorter key may not be valid for all cryptographic operations, such as encryption or signing large messages. Additionally, some users may argue that using a longer key provides greater flexibility and reliability when performing cryptographic operations.
Conclusion
While there are valid arguments on both sides of this debate, there is still no consensus on whether the use of 32-byte public keys in Schnorr signatures in Ethereum is secure or not. The debate is ongoing, and it is important for users to stay up to date with the latest developments and updates from the Ethereum community.
In conclusion, while using shorter public keys may provide some advantages, such as improved efficiency and flexibility, there is no loss of security when using these shortened keys. However, users should be aware of the potential trade-offs and risks associated with truncating your public keys before making a decision.
Please note that this article is based on my understanding of the topic and that 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 in Ethereum, feel free to ask!