Initial release — per-site container isolation with unique device fingerprints
Automatic per-domain containers with hardened fingerprint spoofing: canvas, WebGL, audio, navigator, screen, timezone, WebRTC, fonts, ClientRects, plugins, battery, and connection APIs.
This commit is contained in:
11
lib/prng.js
Normal file
11
lib/prng.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// Mulberry32 — fast, deterministic 32-bit PRNG
|
||||
// Same seed always produces the same sequence
|
||||
function mulberry32(seed) {
|
||||
return function() {
|
||||
seed |= 0;
|
||||
seed = seed + 0x6D2B79F5 | 0;
|
||||
let t = Math.imul(seed ^ (seed >>> 15), 1 | seed);
|
||||
t = t + Math.imul(t ^ (t >>> 7), 61 | t) ^ t;
|
||||
return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user