Skip to content

Commit 1ad39e0

Browse files
authored
Merge pull request #5 from Nazar1ky/patch-1
Fix typos
2 parents e1574e8 + 68ace10 commit 1ad39e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ If parsing fails, this method will throw an error, but will still ensure all dat
4343
The returned promise resolves to an object, containing:
4444

4545
* `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)
4747
* `fingerprintData` - An array containing the raw components used for JA3 TLS fingerprinting:
4848
1. The TLS version number as a Uint16 (771 for TLS 1.2+)
4949
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
6060
* `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.
6161
* `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.
6262
* `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

Comments
 (0)