UNPKG

261 BJavaScriptView Raw
1export default {
2 get name() {
3 return 'ExpoRandom';
4 },
5 async getRandomBytesAsync(length) {
6 const array = new Uint8Array(length);
7 return window.crypto.getRandomValues(array);
8 },
9};
10//# sourceMappingURL=ExpoRandom.web.js.map
\No newline at end of file