mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-30 12:11:07 +00:00
Update spice-html5
This commit is contained in:
parent
34394c2b5e
commit
562fe5c3dc
36 changed files with 59278 additions and 1325 deletions
static/js/spice-html5/thirdparty
5
static/js/spice-html5/thirdparty/rng.js
vendored
5
static/js/spice-html5/thirdparty/rng.js
vendored
|
@ -33,6 +33,7 @@
|
|||
|
||||
|
||||
// Random number generator - requires a PRNG backend, e.g. prng4.js
|
||||
import { prng_newstate, rng_psize } from './prng4.js';
|
||||
|
||||
// For best results, put code like
|
||||
// <body onClick='rng_seed_time();' onKeyPress='rng_seed_time();'>
|
||||
|
@ -100,3 +101,7 @@ function rng_get_bytes(ba) {
|
|||
function SecureRandom() {}
|
||||
|
||||
SecureRandom.prototype.nextBytes = rng_get_bytes;
|
||||
|
||||
export {
|
||||
SecureRandom,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue