You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ If parsing fails, this method will throw an error, but will still ensure all dat
43
43
The returned promise resolves to an object, containing:
44
44
45
45
*`serverName` - The server name requested in the client hello (or undefined if SNI was not used)
46
-
*`alpnProtocols` - A array of ALPN protcol names requested in the client hello (or undefined if ALPN was not used)
46
+
*`alpnProtocols` - An array of ALPN protocol names requested in the client hello (or undefined if ALPN was not used)
47
47
*`fingerprintData` - An array containing the raw components used for JA3 TLS fingerprinting:
48
48
1. The TLS version number as a Uint16 (771 for TLS 1.2+)
49
49
2. An array of cipher ids (excluding GREASE)
@@ -60,4 +60,4 @@ To calculate TLS fingerprints manually, there are a few options exported from th
60
60
*`getTlsFingerprintAsJa4` - Reads from a stream, just like `readTlsClientHello` above, but returns a promise for the JA4 hash string, e.g. `t13d591000_a33745022dd6_1f22a2ca17c4`, instead of the raw hello components.
61
61
*`readTlsClientHello(stream)` - Reads the entire hello (see above). In the returned object, you can read the raw data components used for JA3 fingerprinting from the `fingerprintData` property.
62
62
*`calculateJa3FromFingerprintData(data)` - Takes raw TLS fingerprint data, and returns the corresponding JA3 hash.
63
-
*`calculateJa4FromHelloData(data)` - Takes the full hello data, including the serverName, alpnProtocols & fingerprinting parameters returned by `readTlsClientHello`, and returns the corresponding JA4 hash, eg. `t13d591000_a33745022dd6_1f22a2ca17c4`.
63
+
*`calculateJa4FromHelloData(data)` - Takes the full hello data, including the serverName, alpnProtocols & fingerprinting parameters returned by `readTlsClientHello`, and returns the corresponding JA4 hash, eg. `t13d591000_a33745022dd6_1f22a2ca17c4`.
0 commit comments