Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import * as Random from 'expo-random';
- function randomBytes(len){
- const buffer = await Random.getRandomBytesAsync(len);
- return buffer;
- }
- export{
- randomBytes
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement