Работа над ServerStorage
This commit is contained in:
@@ -23,7 +23,7 @@ export function hexToString(str) {
|
||||
|
||||
export function randomArray(len) {
|
||||
const a = new Uint8Array(len);
|
||||
crypto.getRandomValues(a);
|
||||
window.crypto.getRandomValues(a);
|
||||
return a;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user