react-native-quick-crypto 0.7.0-rc.3 → 0.7.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -4
- package/android/CMakeLists.txt +0 -5
- package/android/build.gradle +17 -17
- package/cpp/Utils/base64.h +320 -0
- package/lib/commonjs/Cipher.js +0 -2
- package/lib/commonjs/Cipher.js.map +1 -1
- package/lib/commonjs/Hash.js +0 -3
- package/lib/commonjs/Hash.js.map +1 -1
- package/lib/commonjs/Hmac.js +0 -2
- package/lib/commonjs/Hmac.js.map +1 -1
- package/lib/commonjs/index.js +50 -8
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/keys.js +2 -4
- package/lib/commonjs/keys.js.map +1 -1
- package/lib/commonjs/random.js.map +1 -1
- package/lib/module/Cipher.js +0 -1
- package/lib/module/Cipher.js.map +1 -1
- package/lib/module/Hash.js +0 -2
- package/lib/module/Hash.js.map +1 -1
- package/lib/module/Hmac.js +0 -1
- package/lib/module/Hmac.js.map +1 -1
- package/lib/module/index.js +45 -6
- package/lib/module/index.js.map +1 -1
- package/lib/module/keys.js +2 -4
- package/lib/module/keys.js.map +1 -1
- package/lib/module/random.js.map +1 -1
- package/lib/typescript/Cipher.d.ts.map +1 -0
- package/lib/typescript/{src/Hash.d.ts → Hash.d.ts} +0 -1
- package/lib/typescript/Hash.d.ts.map +1 -0
- package/lib/typescript/Hashnames.d.ts.map +1 -0
- package/lib/typescript/Hmac.d.ts.map +1 -0
- package/lib/typescript/NativeQuickCrypto/Cipher.d.ts.map +1 -0
- package/lib/typescript/NativeQuickCrypto/NativeQuickCrypto.d.ts.map +1 -0
- package/lib/typescript/NativeQuickCrypto/hash.d.ts.map +1 -0
- package/lib/typescript/NativeQuickCrypto/hmac.d.ts.map +1 -0
- package/lib/typescript/NativeQuickCrypto/pbkdf2.d.ts.map +1 -0
- package/lib/typescript/NativeQuickCrypto/random.d.ts.map +1 -0
- package/lib/typescript/NativeQuickCrypto/sig.d.ts.map +1 -0
- package/lib/typescript/NativeQuickCrypto/webcrypto.d.ts.map +1 -0
- package/lib/typescript/Utils.d.ts.map +1 -0
- package/lib/typescript/aes.d.ts.map +1 -0
- package/lib/typescript/constants.d.ts.map +1 -0
- package/lib/typescript/ec.d.ts.map +1 -0
- package/lib/typescript/{src/QuickCrypto.d.ts → index.d.ts} +24 -15
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/keys.d.ts.map +1 -0
- package/lib/typescript/pbkdf2.d.ts.map +1 -0
- package/lib/typescript/{src/random.d.ts → random.d.ts} +2 -2
- package/lib/typescript/random.d.ts.map +1 -0
- package/lib/typescript/rsa.d.ts.map +1 -0
- package/lib/typescript/sig.d.ts.map +1 -0
- package/lib/typescript/subtle.d.ts.map +1 -0
- package/package.json +4 -5
- package/react-native-quick-crypto.podspec +18 -21
- package/src/Cipher.ts +0 -1
- package/src/Hash.ts +0 -2
- package/src/Hmac.ts +0 -1
- package/src/index.ts +55 -6
- package/src/keys.ts +4 -2
- package/src/random.ts +2 -2
- package/lib/commonjs/QuickCrypto.js +0 -41
- package/lib/commonjs/QuickCrypto.js.map +0 -1
- package/lib/module/QuickCrypto.js +0 -33
- package/lib/module/QuickCrypto.js.map +0 -1
- package/lib/typescript/src/Cipher.d.ts.map +0 -1
- package/lib/typescript/src/Hash.d.ts.map +0 -1
- package/lib/typescript/src/Hashnames.d.ts.map +0 -1
- package/lib/typescript/src/Hmac.d.ts.map +0 -1
- package/lib/typescript/src/NativeQuickCrypto/Cipher.d.ts.map +0 -1
- package/lib/typescript/src/NativeQuickCrypto/NativeQuickCrypto.d.ts.map +0 -1
- package/lib/typescript/src/NativeQuickCrypto/hash.d.ts.map +0 -1
- package/lib/typescript/src/NativeQuickCrypto/hmac.d.ts.map +0 -1
- package/lib/typescript/src/NativeQuickCrypto/pbkdf2.d.ts.map +0 -1
- package/lib/typescript/src/NativeQuickCrypto/random.d.ts.map +0 -1
- package/lib/typescript/src/NativeQuickCrypto/sig.d.ts.map +0 -1
- package/lib/typescript/src/NativeQuickCrypto/webcrypto.d.ts.map +0 -1
- package/lib/typescript/src/QuickCrypto.d.ts.map +0 -1
- package/lib/typescript/src/Utils.d.ts.map +0 -1
- package/lib/typescript/src/aes.d.ts.map +0 -1
- package/lib/typescript/src/constants.d.ts.map +0 -1
- package/lib/typescript/src/ec.d.ts.map +0 -1
- package/lib/typescript/src/index.d.ts +0 -3
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/keys.d.ts.map +0 -1
- package/lib/typescript/src/pbkdf2.d.ts.map +0 -1
- package/lib/typescript/src/random.d.ts.map +0 -1
- package/lib/typescript/src/rsa.d.ts.map +0 -1
- package/lib/typescript/src/sig.d.ts.map +0 -1
- package/lib/typescript/src/subtle.d.ts.map +0 -1
- package/src/QuickCrypto.ts +0 -43
- /package/lib/typescript/{src/Cipher.d.ts → Cipher.d.ts} +0 -0
- /package/lib/typescript/{src/Hashnames.d.ts → Hashnames.d.ts} +0 -0
- /package/lib/typescript/{src/Hmac.d.ts → Hmac.d.ts} +0 -0
- /package/lib/typescript/{src/NativeQuickCrypto → NativeQuickCrypto}/Cipher.d.ts +0 -0
- /package/lib/typescript/{src/NativeQuickCrypto → NativeQuickCrypto}/NativeQuickCrypto.d.ts +0 -0
- /package/lib/typescript/{src/NativeQuickCrypto → NativeQuickCrypto}/hash.d.ts +0 -0
- /package/lib/typescript/{src/NativeQuickCrypto → NativeQuickCrypto}/hmac.d.ts +0 -0
- /package/lib/typescript/{src/NativeQuickCrypto → NativeQuickCrypto}/pbkdf2.d.ts +0 -0
- /package/lib/typescript/{src/NativeQuickCrypto → NativeQuickCrypto}/random.d.ts +0 -0
- /package/lib/typescript/{src/NativeQuickCrypto → NativeQuickCrypto}/sig.d.ts +0 -0
- /package/lib/typescript/{src/NativeQuickCrypto → NativeQuickCrypto}/webcrypto.d.ts +0 -0
- /package/lib/typescript/{src/Utils.d.ts → Utils.d.ts} +0 -0
- /package/lib/typescript/{src/aes.d.ts → aes.d.ts} +0 -0
- /package/lib/typescript/{src/constants.d.ts → constants.d.ts} +0 -0
- /package/lib/typescript/{src/ec.d.ts → ec.d.ts} +0 -0
- /package/lib/typescript/{src/keys.d.ts → keys.d.ts} +0 -0
- /package/lib/typescript/{src/pbkdf2.d.ts → pbkdf2.d.ts} +0 -0
- /package/lib/typescript/{src/rsa.d.ts → rsa.d.ts} +0 -0
- /package/lib/typescript/{src/sig.d.ts → sig.d.ts} +0 -0
- /package/lib/typescript/{src/subtle.d.ts → subtle.d.ts} +0 -0
package/src/QuickCrypto.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as pbkdf2 from './pbkdf2';
|
|
2
|
-
import * as random from './random';
|
|
3
|
-
import {
|
|
4
|
-
createCipher,
|
|
5
|
-
createCipheriv,
|
|
6
|
-
createDecipher,
|
|
7
|
-
createDecipheriv,
|
|
8
|
-
publicEncrypt,
|
|
9
|
-
publicDecrypt,
|
|
10
|
-
privateDecrypt,
|
|
11
|
-
generateKeyPair,
|
|
12
|
-
generateKeyPairSync,
|
|
13
|
-
} from './Cipher';
|
|
14
|
-
import { createSign, createVerify } from './sig';
|
|
15
|
-
import { createHmac } from './Hmac';
|
|
16
|
-
import { createHash } from './Hash';
|
|
17
|
-
import { constants } from './constants';
|
|
18
|
-
import { subtle } from './subtle';
|
|
19
|
-
import { getCiphers, getHashes } from './Utils';
|
|
20
|
-
|
|
21
|
-
export const QuickCrypto = {
|
|
22
|
-
createHmac,
|
|
23
|
-
Hmac: createHmac,
|
|
24
|
-
Hash: createHash,
|
|
25
|
-
createHash,
|
|
26
|
-
createCipher,
|
|
27
|
-
createCipheriv,
|
|
28
|
-
createDecipher,
|
|
29
|
-
createDecipheriv,
|
|
30
|
-
publicEncrypt,
|
|
31
|
-
publicDecrypt,
|
|
32
|
-
privateDecrypt,
|
|
33
|
-
generateKeyPair,
|
|
34
|
-
generateKeyPairSync,
|
|
35
|
-
createSign,
|
|
36
|
-
createVerify,
|
|
37
|
-
subtle,
|
|
38
|
-
constants,
|
|
39
|
-
...pbkdf2,
|
|
40
|
-
...random,
|
|
41
|
-
getCiphers,
|
|
42
|
-
getHashes,
|
|
43
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|