Fix entropy

This commit is contained in:
Christoffer Lerno
2024-09-24 20:15:10 +02:00
parent c6e4eee789
commit d067a31ce6

View File

@@ -100,6 +100,11 @@ fn char[8 * 4] entropy() @if(env::WASM_NOLIBC)
hash($$TIME),
hash(&entropy),
random_int,
hash($$TIME),
hash(&entropy),
random_int,
hash($$TIME),
hash(&entropy),
};
return bitcast(entropy_data, char[8 * 4]);
}