<p>The <code>04</code> first byte header indicates this is an uncompressed point (<code>02</code> indicates compressed).</p>
<p>From there, it is simply an <code>x</code> followed by <code>y</code> representation - The first 32 bytes are <code>x</code>, the following 32 bytes are <code>y</code>. Therefore,</p>
<pre><code>x = 79BE667E F9DCBBAC 55A06295 CE870B07 029BFCDB 2DCE28D9 59F2815B 16F81798
y = 483ADA77 26A3C465 5DA4FBFC 0E1108A8 FD17B448 A6855419 9C47D08F FB10D4B8
</code></pre>
<p>More details on how compact elliptic point representations work can be found in <a href="https://tools.ietf.org/id/draft-jivsov-ecc-compact-05.html" rel="noreferrer">this</a> spec.</p>

CC BY-SA 4.0
2020-08-17T05:19:10.870Z
(For the sake of completeness) Both 2 and 3 indicate compressed form.
Coding Enthusiast
CC BY-SA 4.0
2020-08-17T07:18:22.883Z
Correct, details on the encoding can be found in the very short and digestable SEC-1: https://www.secg.org/SEC1-Ver-1.0.pdf
Raghav Sood
CC BY-SA 4.0
2020-08-16T14:50:36.413Z
2020-08-16T14:50:36.413Z
Raghav Sood
<p>I was looking at <a href="https://en.bitcoin.it/wiki/Secp256k1" rel="noreferrer">BitcoinWiki</a> and it says that G, in it's uncompressed form, has a value of:<br/>
G = 04 79BE667E F9DCBBAC 55A06295 CE870B07 029BFCDB 2DCE28D9 59F2815B 16F81798 483ADA77 26A3C465 5DA4FBFC 0E1108A8 FD17B448 A6855419 9C47D08F FB10D4B8<br/>
Since it's uncompressed, it should contain information about X, but Y as well. How can I determinate those co-ordinates out of this?<br>
Thank you!</p>

<secp256k1>
What are the co-ordinates of generator G in his uncompressed form on secp256k1?
ddavi031
# What are the co-ordinates of generator G in his uncompressed form on secp256k1?

(Asked by: username_0 on 2020-08-16)

I was looking at [BitcoinWiki](https://en.bitcoin.it/wiki/Secp256k1) and it says that G, in it's uncompressed form, has a value of:  
G = 04 79BE667E F9DCBBAC 55A06295 CE870B07 029BFCDB 2DCE28D9 59F2815B 16F81798 483ADA77 26A3C465 5DA4FBFC 0E1108A8 FD17B448 A6855419 9C47D08F FB10D4B8  
Since it's uncompressed, it should contain information about X, but Y as well. How can I determinate those co-ordinates out of this?  
Thank you!

**Tags:** secp256k1


---

## 1 answers

### Answer by username_1 on 2020-08-16. Score: 6 | Accepted answer

The `04` first byte header indicates this is an uncompressed point (`02` indicates compressed).

From there, it is simply an `x` followed by `y` representation - The first 32 bytes are `x`, the following 32 bytes are `y`. Therefore,

```
x = 79BE667E F9DCBBAC 55A06295 CE870B07 029BFCDB 2DCE28D9 59F2815B 16F81798
y = 483ADA77 26A3C465 5DA4FBFC 0E1108A8 FD17B448 A6855419 9C47D08F FB10D4B8

```

More details on how compact elliptic point representations work can be found in [this](https://tools.ietf.org/id/draft-jivsov-ecc-compact-05.html) spec.

> **Comments:**
> **username_2**: (For the sake of completeness) Both 2 and 3 indicate compressed form.  
> **username_1**: Correct, details on the encoding can be found in the very short and digestable SEC-1: https://www.secg.org/SEC1-Ver-1.0.pdf  

---

