File tree Expand file tree Collapse file tree
packages/react-native-quick-crypto/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -284,3 +284,9 @@ export function createCipheriv(
284284 options as Record < string , TransformOptions > ,
285285 ) ;
286286}
287+
288+ export const cipherExports = {
289+ createCipheriv,
290+ createDecipheriv,
291+ getCiphers,
292+ } ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Buffer } from '@craftzdog/react-native-buffer';
33
44// API imports
55import * as keys from './keys' ;
6- import * as cipher from './cipher' ;
6+ import { cipherExports as cipher } from './cipher' ;
77import * as ed from './ed' ;
88import * as pbkdf2 from './pbkdf2' ;
99import * as random from './random' ;
@@ -16,27 +16,11 @@ import * as utils from './utils';
1616 * See `docs/implementation-coverage.md` for status.
1717 */
1818const QuickCrypto = {
19- // createHmac,
20- // Hmac: createHmac,
21- // Hash: createHash,
22- // createHash,
23- // publicEncrypt,
24- // publicDecrypt,
25- // privateDecrypt,
26- // generateKey,
27- // generateKeySync,
28- // createSign,
29- // createVerify,
30- // subtle,
31- // constants,
3219 ...keys ,
3320 ...cipher ,
3421 ...ed ,
3522 ...pbkdf2 ,
3623 ...random ,
37- // getCiphers,
38- // getHashes,
39- // webcrypto,
4024 ...utils ,
4125} ;
4226
You can’t perform that action at this time.
0 commit comments