  1. [JA3 Fingerprint](https://scrapfly.io/web-scraping-tools/ja3-fingerprint)
2. [ TLS Extensions ](https://scrapfly.io/web-scraping-tools/ja3-fingerprint/extensions "Browse all TLS Extensions")
3. key\_share
 
   [  Browse All TLS Extensions ](https://scrapfly.io/web-scraping-tools/ja3-fingerprint/extensions) 

  # key\_share

TLS Extension Code: `51`

 

  ### Extension Details

 

Extension Name

`key_share`

 

Extension Code (Decimal)

`51`

 

Extension Code (Hex)

`0x0033`

 

RFC Reference

 [ RFC 8446  ](https://datatracker.ietf.org/doc/html/rfc8446#section-4.2.8) 

 

 

 

  ### What is key\_share?

 

The Key Share extension in TLS 1.3 contains the client's cryptographic key exchange parameters for (EC)DHE. The client sends key shares for one or more groups from its Supported Groups list. Typically, clients send a key share for their most preferred group (e.g., x25519) to enable a 1-RTT handshake. If the server doesn't support the offered group, it sends a HelloRetryRequest. The key share enables perfect forward secrecy by using ephemeral keys. This extension is mandatory in TLS 1.3 and is a major improvement over TLS 1.2's static RSA key exchange.

 

 

  ### Role in JA3 Fingerprinting

 

  How This Extension Affects Fingerprinting 

 The **key\_share** extension is part of the TLS Client Hello packet that JA3 analyzes to create a unique fingerprint of your browser or HTTP client.

 **JA3 Construction:** JA3 concatenates TLS parameters including extensions in a specific format:
 `TLS_VERSION,CIPHERS,EXTENSIONS,CURVES,POINT_FORMATS`

 Different browsers and HTTP clients support different sets of TLS extensions, making this a key differentiator in fingerprinting. The presence, absence, or order of extensions like `key_share` can reveal:

- Browser type and version (Chrome, Firefox, Safari, Edge)
- Operating system (Windows, macOS, Linux, Android, iOS)
- HTTP library (curl, Python requests, Go http.Client, Node.js)
- Bot detection - automated tools often have distinctive extension sets
 
 

 

 

  ### Test Your TLS Configuration

 

 See if your browser or HTTP client includes the `key_share` extension in its TLS handshake:

 [  Test Your JA3 Fingerprint ](https://scrapfly.io/web-scraping-tools/ja3-fingerprint) 

 The JA3 tool will show all TLS extensions your client advertises, including key\_share.

 

  ### Browser &amp; Client Support

 

**Modern Browser Support:**

- **Chrome/Edge:** Full support for key\_share
- **Firefox:** Full support for key\_share
- **Safari:** Full support for key\_share
 
**HTTP Client Libraries:**

- **curl:** Support varies by OpenSSL/LibreSSL version
- **Python requests:** Limited TLS extension control
- **curl\_cffi:** Can mimic browser TLS configurations
- **Scrapfly API:** Automatically matches real browser TLS fingerprints
 
 

 

 

  ### Related TLS Resources

 

##### TLS Extensions

- [server\_name (SNI)](https://scrapfly.io/web-scraping-tools/ja3-fingerprint/extension/server-name)
- [supported\_groups](https://scrapfly.io/web-scraping-tools/ja3-fingerprint/extension/supported-groups)
- [ALPN](https://scrapfly.io/web-scraping-tools/ja3-fingerprint/extension/application-layer-protocol-negotiation)
- [supported\_versions](https://scrapfly.io/web-scraping-tools/ja3-fingerprint/extension/supported-versions)
 
 

##### Testing Tools

- [JA3 Fingerprint Tool](https://scrapfly.io/web-scraping-tools/ja3-fingerprint)
- [Browser Fingerprint Test](https://scrapfly.io/web-scraping-tools/browser-fingerprint)
 
 

 

 

  ### Technical References

 

- **RFC Specification:** [ RFC 8446 - TLS Extensions  ](https://datatracker.ietf.org/doc/html/rfc8446#section-4.2.8)
- **IANA Registry:** [ TLS ExtensionType Values  ](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml)
- **JA3 Project:** [ JA3 - TLS Client Fingerprinting  ](https://github.com/salesforce/ja3)