Home
last modified time | relevance | path

Searched refs:getRandomValues (Results 1 – 25 of 41) sorted by relevance

12

/expo/packages/expo-standard-web-crypto/src/__tests__/
H A DgetRandomValues-test.ts3 import getRandomValues, { getRandomValuesInsecure } from '../getRandomValues';
6 (Crypto.getRandomValues as jest.Mock).mockClear();
20 const result = getRandomValues(array);
23 expect(Crypto.getRandomValues).toHaveBeenCalledTimes(1);
24 expect(Crypto.getRandomValues).toHaveBeenCalledWith(array);
38 expect(() => getRandomValues(...(values as [any]))).toThrow(TypeError);
46 getRandomValues(oversized);
H A Dindex-test.ts4 expect(crypto.getRandomValues).toBeDefined();
/expo/packages/expo-standard-web-crypto/build/
H A Dindex.js2 import getRandomValues from './getRandomValues';
4 getRandomValues(values) { method in Crypto
5 return getRandomValues(values);
H A Dindex.js.map1getRandomValues from './getRandomValues';\n\nclass Crypto {\n getRandomValues<TArray extends Arra…
H A DgetRandomValues.d.ts.map1 {"version":3,"file":"getRandomValues.d.ts","sourceRoot":"","sources":["../src/getRandomValues.ts"],…
H A DgetRandomValues.js1 import { getRandomValues as expoCryptoGetRandomValues } from 'expo-crypto';
10 export default function getRandomValues(values) { function
H A Dindex.d.ts2 getRandomValues<TArray extends ArrayBufferView>(values: TArray): TArray; method in Crypto
H A DgetRandomValues.js.map1getRandomValues.js","sourceRoot":"","sources":["../src/getRandomValues.ts"],"names":[],"mappings":…
H A DgetRandomValues.d.ts9 export default function getRandomValues<TArray extends ArrayBufferView>(values: TArray): TArray; function
/expo/packages/expo-standard-web-crypto/src/
H A Dindex.ts2 import getRandomValues from './getRandomValues';
5 getRandomValues<TArray extends ArrayBufferView>(values: TArray): TArray { method in Crypto
6 return getRandomValues(values);
H A DgetRandomValues.ts1 import { getRandomValues as expoCryptoGetRandomValues } from 'expo-crypto';
21 export default function getRandomValues<TArray extends ArrayBufferView>(values: TArray): TArray { function
/expo/packages/expo-crypto/build/
H A DExpoCrypto.web.js25 return getCrypto().getRandomValues(array);
29 return getCrypto().getRandomValues(array);
31 getRandomValues(typedArray) {
32 return getCrypto().getRandomValues(typedArray);
/expo/packages/expo-crypto/src/
H A DExpoCrypto.web.ts34 return getCrypto().getRandomValues(array);
38 return getCrypto().getRandomValues(array);
40 getRandomValues(typedArray: TypedArray) {
41 return getCrypto().getRandomValues(typedArray);
/expo/packages/expo-random/build/
H A DExpoRandom.web.js8 return (window.crypto ?? window.msCrypto).getRandomValues(array);
13 return (window.crypto ?? window.msCrypto).getRandomValues(array);
H A DExpoRandom.web.js.map1getRandomValues(array);\n },\n async getRandomBytesAsync(length: number): Promise<Uint8Array> {\…
/expo/packages/expo-random/src/
H A DExpoRandom.web.ts8 return (window.crypto ?? window.msCrypto).getRandomValues(array);
13 return (window.crypto ?? window.msCrypto).getRandomValues(array);
/expo/packages/expo-standard-web-crypto/src/__mocks__/
H A Dexpo-crypto.ts1 export const getRandomValues = jest.fn((inputArray) => { constant
/expo/packages/expo-auth-session/build/
H A DPKCE.js4 function getRandomValues(input) { function
27 getRandomValues(buffer);
/expo/packages/expo-auth-session/src/
H A DPKCE.ts6 function getRandomValues(input: Uint8Array): Uint8Array { function
33 getRandomValues(buffer);
/expo/packages/expo-random/
H A DREADME.md8 …m values to address use cases that other APIs like the web's `crypto.getRandomValues` and Node's `…
14 You can add a polyfill for the web's `crypto.getRandomValues` by installing [expo-standard-web-cryp…
20 // crypto.getRandomValues is now globally defined
/expo/ios/versioned/sdk48/ExpoCrypto/
H A DCryptoModule.swift18 Function("getRandomValues", getRandomValues) in definition()
58 private func getRandomValues(array: TypedArray) throws -> TypedArray { in getRandomValues() function
/expo/ios/versioned/sdk49/ExpoCrypto/
H A DCryptoModule.swift18 Function("getRandomValues", getRandomValues) in definition()
58 private func getRandomValues(array: TypedArray) throws -> TypedArray { in getRandomValues() function
/expo/packages/expo-crypto/ios/
H A DCryptoModule.swift18 Function("getRandomValues", getRandomValues) in definition()
58 private func getRandomValues(array: TypedArray) throws -> TypedArray { in getRandomValues() function
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/crypto/
H A DCryptoModule.kt21 Function("getRandomValues", this@CryptoModule::getRandomValues) in <lambda>()
59 private fun getRandomValues(typedArray: TypedArray) { in <lambda>() method in abi49_0_0.expo.modules.crypto.CryptoModule
/expo/packages/expo-crypto/android/src/main/java/expo/modules/crypto/
H A DCryptoModule.kt21 Function("getRandomValues", this@CryptoModule::getRandomValues) in <lambda>()
59 private fun getRandomValues(typedArray: TypedArray) { in <lambda>() method in expo.modules.crypto.CryptoModule

12