| /expo/packages/expo-standard-web-crypto/src/__tests__/ |
| H A D | getRandomValues-test.ts | 3 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 D | index-test.ts | 4 expect(crypto.getRandomValues).toBeDefined();
|
| /expo/packages/expo-standard-web-crypto/build/ |
| H A D | index.js | 2 import getRandomValues from './getRandomValues'; 4 getRandomValues(values) { method in Crypto 5 return getRandomValues(values);
|
| H A D | index.js.map | 1 …getRandomValues from './getRandomValues';\n\nclass Crypto {\n getRandomValues<TArray extends Arra…
|
| H A D | getRandomValues.d.ts.map | 1 {"version":3,"file":"getRandomValues.d.ts","sourceRoot":"","sources":["../src/getRandomValues.ts"],…
|
| H A D | getRandomValues.js | 1 import { getRandomValues as expoCryptoGetRandomValues } from 'expo-crypto'; 10 export default function getRandomValues(values) { function
|
| H A D | index.d.ts | 2 getRandomValues<TArray extends ArrayBufferView>(values: TArray): TArray; method in Crypto
|
| H A D | getRandomValues.js.map | 1 …getRandomValues.js","sourceRoot":"","sources":["../src/getRandomValues.ts"],"names":[],"mappings":…
|
| H A D | getRandomValues.d.ts | 9 export default function getRandomValues<TArray extends ArrayBufferView>(values: TArray): TArray; function
|
| /expo/packages/expo-standard-web-crypto/src/ |
| H A D | index.ts | 2 import getRandomValues from './getRandomValues'; 5 getRandomValues<TArray extends ArrayBufferView>(values: TArray): TArray { method in Crypto 6 return getRandomValues(values);
|
| H A D | getRandomValues.ts | 1 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 D | ExpoCrypto.web.js | 25 return getCrypto().getRandomValues(array); 29 return getCrypto().getRandomValues(array); 31 getRandomValues(typedArray) { 32 return getCrypto().getRandomValues(typedArray);
|
| /expo/packages/expo-crypto/src/ |
| H A D | ExpoCrypto.web.ts | 34 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 D | ExpoRandom.web.js | 8 return (window.crypto ?? window.msCrypto).getRandomValues(array); 13 return (window.crypto ?? window.msCrypto).getRandomValues(array);
|
| H A D | ExpoRandom.web.js.map | 1 …getRandomValues(array);\n },\n async getRandomBytesAsync(length: number): Promise<Uint8Array> {\…
|
| /expo/packages/expo-random/src/ |
| H A D | ExpoRandom.web.ts | 8 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 D | expo-crypto.ts | 1 export const getRandomValues = jest.fn((inputArray) => { constant
|
| /expo/packages/expo-auth-session/build/ |
| H A D | PKCE.js | 4 function getRandomValues(input) { function 27 getRandomValues(buffer);
|
| /expo/packages/expo-auth-session/src/ |
| H A D | PKCE.ts | 6 function getRandomValues(input: Uint8Array): Uint8Array { function 33 getRandomValues(buffer);
|
| /expo/packages/expo-random/ |
| H A D | README.md | 8 …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 D | CryptoModule.swift | 18 Function("getRandomValues", getRandomValues) in definition() 58 private func getRandomValues(array: TypedArray) throws -> TypedArray { in getRandomValues() function
|
| /expo/ios/versioned/sdk49/ExpoCrypto/ |
| H A D | CryptoModule.swift | 18 Function("getRandomValues", getRandomValues) in definition() 58 private func getRandomValues(array: TypedArray) throws -> TypedArray { in getRandomValues() function
|
| /expo/packages/expo-crypto/ios/ |
| H A D | CryptoModule.swift | 18 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 D | CryptoModule.kt | 21 Function("getRandomValues", this@CryptoModule::getRandomValues) in <lambda>() 59 private fun getRandomValues(typedArray: TypedArray) { in <lambda>() method
|
| /expo/packages/expo-crypto/android/src/main/java/expo/modules/crypto/ |
| H A D | CryptoModule.kt | 21 Function("getRandomValues", this@CryptoModule::getRandomValues) in <lambda>() 59 private fun getRandomValues(typedArray: TypedArray) { in <lambda>() method
|