Does uuid v1 have browser compatibility issues? #661
-
I checked the information and learned that uuid version1 is generated based on timestamp and MAC address. Is there any browser compatibility problem? For example, some browsers cannot obtain the MAC address. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The You're correct that browsers can't access the host's MAC address. Instead, This also avoids the potential security concerns associated with exposing host MAC addresses. |
Beta Was this translation helpful? Give feedback.
-
Thanks! That’s very helpful!
Robert Kieffer ***@***.***>于2022年11月25日 周五23:09写道:
… The v1() method works fine on all browsers.
You're correct that browsers can't access the host's MAC address. Instead,
uuid uses a randomly generated value (as allowed for by RFC 4122
<https://www.ietf.org/rfc/rfc4122.html#section-4.5>).
This also avoids the potential security concerns associated with exposing
host MAC addresses.
—
Reply to this email directly, view it on GitHub
<#661 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APEEYIT5HTIVOIVZHZQQMGDWKDJA5ANCNFSM6AAAAAASLFLLRY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
The
v1()
method works fine on all browsers.You're correct that browsers can't access the host's MAC address. Instead,
uuid
uses a randomly generated value (as allowed for by RFC 4122).This also avoids the potential security concerns associated with exposing host MAC addresses.