Home
last modified time | relevance | path

Searched refs:getRandomBytes (Results 1 – 25 of 27) sorted by relevance

12

/expo/apps/test-suite/tests/
H A DRandom.js17 const bytes = Random.getRandomBytes(length);
26 const firstDraw = Random.getRandomBytes(length);
27 const secondDraw = Random.getRandomBytes(length);
/expo/apps/native-component-list/src/screens/
H A DRandomScreen.tsx1 import { getRandomBytes, getRandomBytesAsync } from 'expo-random';
13 getRandomValues: (array) => getRandomBytes(array.byteLength),
29 random: getRandomBytes(10),
48 <HeadingText>getRandomBytes:</HeadingText>
H A DCryptoScreen.tsx9 name: 'getRandomBytes',
17 actions: Crypto.getRandomBytes,
/expo/packages/expo-random/build/
H A DRandom.js22 export function getRandomBytes(byteCount) { function
36 if (ExpoRandom.getRandomBytes) {
37 return ExpoRandom.getRandomBytes(validByteCount);
H A DRandom.d.ts8 export declare function getRandomBytes(byteCount: number): Uint8Array; function
H A DExpoRandom.web.d.ts3 getRandomBytes(length: number): Uint8Array; constant
H A DExpoRandom.web.js5 getRandomBytes(length) {
H A DRandom.js.map1getRandomBytes(byteCount: number): Uint8Array {\n warnIsDeprecated('getRandomBytes');\n assertBy…
H A DExpoRandom.web.js.map1 …default {\n get name(): string {\n return 'ExpoRandom';\n },\n getRandomBytes(length: number…
/expo/packages/expo-random/src/
H A DRandom.ts34 export function getRandomBytes(byteCount: number): Uint8Array { function
48 if (ExpoRandom.getRandomBytes) {
49 return ExpoRandom.getRandomBytes(validByteCount);
H A DExpoRandom.web.ts5 getRandomBytes(length: number): Uint8Array {
/expo/packages/expo-crypto/build/
H A DCrypto.js20 export function getRandomBytes(byteCount) { function
33 if (ExpoCrypto.getRandomBytes) {
34 return ExpoCrypto.getRandomBytes(validByteCount);
H A DExpoCrypto.web.d.ts6 getRandomBytes(length: number): Uint8Array; constant
H A DCrypto.d.ts11 export declare function getRandomBytes(byteCount: number): Uint8Array; function
H A DExpoCrypto.web.js23 getRandomBytes(length) {
H A DCrypto.js.map1getRandomBytes(byteCount: number): Uint8Array {\n assertByteCount(byteCount, 'getRandomBytes');\n…
H A DExpoCrypto.web.js.map1 …or('ERR_CRYPTO_DIGEST', 'Invalid encoding type provided.');\n },\n getRandomBytes(length: number…
/expo/packages/expo-crypto/src/
H A DCrypto.ts27 export function getRandomBytes(byteCount: number): Uint8Array { function
40 if (ExpoCrypto.getRandomBytes) {
41 return ExpoCrypto.getRandomBytes(validByteCount);
H A DExpoCrypto.web.ts32 getRandomBytes(length: number): Uint8Array {
/expo/packages/expo-auth-session/build/
H A DPKCE.js9 const bytes = Crypto.getRandomBytes(input.length);
H A DPKCE.js.map1 …gth) input = new Uint8Array(input.buffer);\n\n const bytes = Crypto.getRandomBytes(input.length);…
/expo/packages/expo-auth-session/src/
H A DPKCE.ts11 const bytes = Crypto.getRandomBytes(input.length);
/expo/packages/expo-auth-session/src/__tests__/
H A DAuthRequest-test.ts6 getRandomBytes: jest.fn(() => ''),
/expo/packages/expo-standard-web-crypto/build/
H A DgetRandomValues.js.map1 …s not due to a lack of synchronous methods\n console.warn(`Random.getRandomBytes is not support…
/expo/packages/expo-random/
H A DCHANGELOG.md166 - Add a synchronous version of `getRandomBytesAsync` called `getRandomBytes`. ([#9750](https://gith…

12