blob: 7c27fd9a6d42cf21953e5eb1142eb37cccb02ce9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
export * from "crypto-browserify";
// we deliberately reference crypto. directly here because we want to preserve the This binding
export var getRandomValues = (array) => {
return crypto.getRandomValues(array);
};
export var randomUUID = () => {
return crypto.randomUUID();
};
export var webcrypto = crypto;
|