Home
last modified time | relevance | path

Searched refs:CryptoEncoding (Results 1 – 17 of 17) sorted by relevance

/expo/packages/expo-crypto/build/
H A DCrypto.types.js41 export var CryptoEncoding; variable
42 (function (CryptoEncoding) { argument
43 CryptoEncoding["HEX"] = "hex";
47 CryptoEncoding["BASE64"] = "base64";
48 })(CryptoEncoding || (CryptoEncoding = {}));
H A DCrypto.types.d.ts38 export declare enum CryptoEncoding { enum
49 encoding: CryptoEncoding;
H A DExpoCrypto.web.js2 import { CryptoEncoding } from './Crypto.types';
15 if (options.encoding === CryptoEncoding.HEX) {
18 else if (options.encoding === CryptoEncoding.BASE64) {
H A DCrypto.js3 import { CryptoDigestAlgorithm, CryptoEncoding } from './Crypto.types';
84 if (!Object.values(CryptoEncoding).includes(encoding)) {
85 …lid encoding provided. Expected one of: CryptoEncoding.${Object.keys(CryptoEncoding).join(', Crypt…
109 export async function digestStringAsync(algorithm, data, options = { encoding: CryptoEncoding.HEX }…
H A DCrypto.types.js.map1CryptoEncoding {\n HEX = 'hex',\n /**\n * Has trailing padding. Does not wrap lines. Does not …
H A DExpoCrypto.web.js.map1CryptoEncoding, CryptoDigestOptions } from './Crypto.types';\n\nconst getCrypto = (): Crypto => wi…
H A DCrypto.js.map1CryptoEncoding, CryptoDigestOptions, Digest } from './Crypto.types';\nimport ExpoCrypto from './Ex…
/expo/packages/expo-crypto/src/
H A DCrypto.types.ts41 export enum CryptoEncoding { enum
54 encoding: CryptoEncoding;
H A DCrypto.ts4 import { CryptoDigestAlgorithm, CryptoEncoding, CryptoDigestOptions, Digest } from './Crypto.types';
99 function assertEncoding(encoding: CryptoEncoding): void {
100 if (!Object.values(CryptoEncoding).includes(encoding)) {
103 CryptoEncoding
133 options: CryptoDigestOptions = { encoding: CryptoEncoding.HEX }
H A DExpoCrypto.web.ts3 import { CryptoDigestAlgorithm, CryptoEncoding, CryptoDigestOptions } from './Crypto.types';
25 if (options.encoding === CryptoEncoding.HEX) {
27 } else if (options.encoding === CryptoEncoding.BASE64) {
/expo/apps/test-suite/tests/
H A DCrypto.js18 const { CryptoEncoding, CryptoDigestAlgorithm } = Crypto;
24 [CryptoEncoding.HEX]: {
33 [CryptoEncoding.BASE64]: {
70 for (const encodingEntry of Object.entries(CryptoEncoding)) {
99 const hex = valueMapping[CryptoEncoding.HEX][algorithm];
/expo/packages/expo-crypto/src/__tests__/
H A DCrypto-test.native.ts8 encoding: Crypto.CryptoEncoding.HEX,
15 encoding: Crypto.CryptoEncoding.HEX,
/expo/packages/expo-auth-session/build/
H A DPKCE.js38 encoding: Crypto.CryptoEncoding.BASE64,
54 encoding: Crypto.CryptoEncoding.HEX,
H A DPKCE.js.map1CryptoEncoding.BASE64,\n });\n return convertToUrlSafeString(buffer);\n}\n\nexport async functio…
/expo/packages/expo-auth-session/src/
H A DPKCE.ts46 encoding: Crypto.CryptoEncoding.BASE64,
67 encoding: Crypto.CryptoEncoding.HEX,
/expo/apps/native-component-list/src/screens/
H A DCryptoScreen.tsx2 import { CryptoDigestAlgorithm, CryptoEncoding } from 'expo-crypto';
89 values: [CryptoEncoding.BASE64, CryptoEncoding.HEX],
/expo/packages/expo-auth-session/src/__tests__/
H A DAuthRequest-test.ts9 CryptoEncoding: { BASE64: 'BASE64' },