Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ivar committed Apr 27, 2020
1 parent ba1b8a3 commit 512c9bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions getusermedia.html
Expand Up @@ -3752,9 +3752,9 @@ <h2>Implementation Suggestions</h2>
{{MediaDeviceInfo/deviceId}} is to generate a cryptographic hash from
a private key + (origin or origin + top-level origin, based on the user
agents' partitioning rules) + salt + device's underlying (hardware) id
in the driver, and then present it as an alphanumeric string. Using 32
bits or less the id is recommended, but not much lower, to avoid risk of
collision.
in the driver, and present the resulting hash as an alphanumeric string.
Using 32 bits or fewer for the hash is recommended, but not much lower,
to avoid risk of collision.
</p>
<p class="practicedesc">A better, lower-entropy, alternative, at the
cost storage, is to assign the numbers 0 through 255 randomly to each
Expand Down

0 comments on commit 512c9bc

Please sign in to comment.