Home
last modified time | relevance | path

Searched refs:ExpoCrypto (Results 1 – 14 of 14) sorted by relevance

/expo/packages/expo-crypto/build/
H A DCrypto.js4 import ExpoCrypto from './ExpoCrypto';
33 if (ExpoCrypto.getRandomBytes) {
34 return ExpoCrypto.getRandomBytes(validByteCount);
36 else if (ExpoCrypto.getRandomBase64String) {
54 if (ExpoCrypto.getRandomBytesAsync) {
57 else if (ExpoCrypto.getRandomBase64StringAsync) {
110 if (!ExpoCrypto.digestStringAsync) {
132 ExpoCrypto.getRandomValues(typedArray);
147 return ExpoCrypto.randomUUID();
177 if (typeof ExpoCrypto.digestAsync === 'function') {
[all …]
H A DExpoCrypto.js.map1 …ExpoCrypto.js","sourceRoot":"","sources":["../src/ExpoCrypto.ts"],"names":[],"mappings":"AAAA,OAAO…
H A DExpoCrypto.d.ts.map1 {"version":3,"file":"ExpoCrypto.d.ts","sourceRoot":"","sources":["../src/ExpoCrypto.ts"],"names":[]…
H A DExpoCrypto.web.d.ts.map1 {"version":3,"file":"ExpoCrypto.web.d.ts","sourceRoot":"","sources":["../src/ExpoCrypto.web.ts"],"n…
H A DCrypto.js.map1 …ExpoCrypto from './ExpoCrypto';\n\ndeclare const global: any;\n\nexport * from './Crypto.types';\n…
H A DExpoCrypto.web.js.map1 …ExpoCrypto.web.js","sourceRoot":"","sources":["../src/ExpoCrypto.web.ts"],"names":[],"mappings":"A…
/expo/packages/expo-crypto/src/
H A DCrypto.ts5 import ExpoCrypto from './ExpoCrypto';
40 if (ExpoCrypto.getRandomBytes) {
41 return ExpoCrypto.getRandomBytes(validByteCount);
42 } else if (ExpoCrypto.getRandomBase64String) {
60 if (ExpoCrypto.getRandomBytesAsync) {
62 } else if (ExpoCrypto.getRandomBase64StringAsync) {
135 if (!ExpoCrypto.digestStringAsync) {
162 ExpoCrypto.getRandomValues(typedArray);
178 return ExpoCrypto.randomUUID();
210 if (typeof ExpoCrypto.digestAsync === 'function') {
[all …]
/expo/packages/expo-crypto/src/__tests__/
H A DCrypto-test.native.ts2 import ExpoCrypto from '../ExpoCrypto';
5 ExpoCrypto.digestStringAsync.mockImplementationOnce(() => '');
11 expect(ExpoCrypto.digestStringAsync).toHaveBeenLastCalledWith(
21 ExpoCrypto.getRandomBase64StringAsync.mockImplementationOnce(async () => '');
24 expect(ExpoCrypto.getRandomBase64StringAsync).toHaveBeenLastCalledWith(0);
28 ExpoCrypto.getRandomBase64StringAsync.mockImplementationOnce(async () => 'r6ip');
34 ExpoCrypto.getRandomBase64StringAsync.mockImplementation(async () => '');
H A DCrypto-test.ts2 import ExpoCrypto from '../ExpoCrypto';
72 expect(ExpoCrypto.getRandomBytesAsync).lastCalledWith(Math.floor(value));
77 ExpoCrypto.getRandomBytesAsync = null;
79 expect(ExpoCrypto.getRandomBase64StringAsync).toHaveBeenCalled();
/expo/packages/expo-crypto/ios/
H A DExpoCrypto.podspec6 s.name = 'ExpoCrypto'
/expo/packages/expo-random/build/
H A DRandom.js.map1 …ole.warn(\n `expo-random is deprecated in favor of expo-crypto: use ExpoCrypto.${functionName}(…
/expo/apps/bare-expo/ios/
H A DPodfile.lock158 - ExpoCrypto (12.6.0):
860 - ExpoCrypto (from `../../../packages/expo-crypto/ios`)
1071 ExpoCrypto:
1332 ExpoCrypto: 42485127a5968dda6f67ac5f2b42d3c0af31d7db
/expo/packages/jest-expo/src/preset/
H A DexpoModules.js263 ExpoCrypto: [ property
691 ExpoCrypto: {}, property
/expo/ios/
H A DPodfile.lock2249 - ExpoCrypto (12.6.0):
3140 - ABI47_0_0ExpoCrypto (from `./versioned/sdk47/ExpoCrypto`)
3244 - ABI48_0_0ExpoCrypto (from `./versioned/sdk48/ExpoCrypto`)
3355 - ABI49_0_0ExpoCrypto (from `./versioned/sdk49/ExpoCrypto`)
3479 - ExpoCrypto (from `../packages/expo-crypto/ios`)
3710 :path: "./versioned/sdk47/ExpoCrypto"
3914 :path: "./versioned/sdk48/ExpoCrypto"
4132 :path: "./versioned/sdk49/ExpoCrypto"
4366 ExpoCrypto:
4932 ExpoCrypto: 42485127a5968dda6f67ac5f2b42d3c0af31d7db