react-native-quick-crypto 1.0.6 → 1.0.7
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/QuickCrypto.podspec +3 -1
- package/README.md +11 -7
- package/cpp/blake3/HybridBlake3.cpp +1 -1
- package/cpp/cipher/CCMCipher.cpp +1 -1
- package/cpp/cipher/ChaCha20Cipher.cpp +1 -1
- package/cpp/cipher/ChaCha20Poly1305Cipher.cpp +1 -1
- package/cpp/cipher/GCMCipher.cpp +1 -1
- package/cpp/cipher/HybridCipher.cpp +1 -1
- package/cpp/cipher/HybridCipherFactory.hpp +1 -1
- package/cpp/cipher/HybridRsaCipher.cpp +1 -1
- package/cpp/cipher/OCBCipher.cpp +1 -1
- package/cpp/cipher/XSalsa20Cipher.cpp +1 -1
- package/cpp/ec/HybridEcKeyPair.cpp +1 -1
- package/cpp/ec/HybridEcKeyPair.hpp +1 -1
- package/cpp/ed25519/HybridEdKeyPair.hpp +1 -1
- package/cpp/hash/HybridHash.cpp +1 -1
- package/cpp/hkdf/HybridHkdf.cpp +1 -1
- package/cpp/keys/HybridKeyObjectHandle.cpp +1 -1
- package/cpp/keys/KeyObjectData.cpp +1 -1
- package/cpp/keys/KeyObjectData.hpp +1 -1
- package/cpp/mldsa/HybridMlDsaKeyPair.cpp +1 -1
- package/cpp/pbkdf2/HybridPbkdf2.cpp +1 -1
- package/cpp/random/HybridRandom.cpp +1 -1
- package/cpp/rsa/HybridRsaKeyPair.cpp +1 -1
- package/cpp/scrypt/HybridScrypt.cpp +1 -1
- package/cpp/sign/HybridSignHandle.cpp +1 -1
- package/cpp/sign/HybridVerifyHandle.cpp +1 -1
- package/package.json +1 -1
- /package/cpp/utils/{Utils.hpp → QuickCryptoUtils.hpp} +0 -0
package/QuickCrypto.podspec
CHANGED
|
@@ -123,7 +123,9 @@ Pod::Spec.new do |s|
|
|
|
123
123
|
"GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) FOLLY_NO_CONFIG FOLLY_CFG_NO_COROUTINES",
|
|
124
124
|
# Set C++ standard to C++20
|
|
125
125
|
"CLANG_CXX_LANGUAGE_STANDARD" => "c++20",
|
|
126
|
-
"CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES"
|
|
126
|
+
"CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES",
|
|
127
|
+
# Exclude ARM NEON source when building x86_64 simulator (no NEON support).
|
|
128
|
+
"EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*][arch=x86_64]" => "deps/blake3/c/blake3_neon.c"
|
|
127
129
|
}
|
|
128
130
|
|
|
129
131
|
# Add cpp subdirectories to header search paths
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<a href="https://margelo.com">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="
|
|
4
|
-
<source media="(prefers-color-scheme: light)" srcset="
|
|
5
|
-
<img alt="react-native-quick-crypto" src="
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="./.docs/img/banner-dark.png" />
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="./.docs/img/banner-light.png" />
|
|
5
|
+
<img alt="react-native-quick-crypto" src="./.docs/img/banner-light.png" />
|
|
6
6
|
</picture>
|
|
7
7
|
</a>
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
A fast implementation of Node's `crypto` module.
|
|
12
12
|
|
|
13
|
-
> Note: This version `1.x` completed a major refactor, porting to OpenSSL 3.6+, New Architecture, Bridgeless, and [`Nitro Modules`](https://github.com/mrousavy/react-native-nitro). It should be at or above feature-parity compared to the `0.x` version. Status, as always, will be represented in [implementation-coverage.md](
|
|
13
|
+
> Note: This version `1.x` completed a major refactor, porting to OpenSSL 3.6+, New Architecture, Bridgeless, and [`Nitro Modules`](https://github.com/mrousavy/react-native-nitro). It should be at or above feature-parity compared to the `0.x` version. Status, as always, will be represented in [implementation-coverage.md](./.docs/implementation-coverage.md).
|
|
14
14
|
|
|
15
15
|
> Note: Minimum supported version of React Native is `0.75`. If you need to use earlier versions, please use `0.x` versions of this library.
|
|
16
16
|
|
|
@@ -46,7 +46,7 @@ There is a benchmark suite in the Example app in this repo that has benchmarks o
|
|
|
46
46
|
## Installation
|
|
47
47
|
|
|
48
48
|
<h3>
|
|
49
|
-
React Native <a href="#"><img src="
|
|
49
|
+
React Native <a href="#"><img src="./.docs/img/react-native.png" height="15" /></a>
|
|
50
50
|
</h3>
|
|
51
51
|
|
|
52
52
|
```sh
|
|
@@ -55,7 +55,7 @@ cd ios && pod install
|
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
<h3>
|
|
58
|
-
Expo <a href="#"><img src="
|
|
58
|
+
Expo <a href="#"><img src="./.docs/img/expo.png" height="12" /></a>
|
|
59
59
|
</h3>
|
|
60
60
|
|
|
61
61
|
```sh
|
|
@@ -139,7 +139,7 @@ const hashed = QuickCrypto.createHash('sha256')
|
|
|
139
139
|
|
|
140
140
|
## Limitations
|
|
141
141
|
|
|
142
|
-
Not all cryptographic algorithms are supported yet. See the [implementation coverage](
|
|
142
|
+
Not all cryptographic algorithms are supported yet. See the [implementation coverage](./.docs/implementation-coverage.md) document for more details. If you need a specific algorithm, please open a `feature request` issue and we'll see what we can do.
|
|
143
143
|
|
|
144
144
|
## Community Discord
|
|
145
145
|
|
|
@@ -153,6 +153,10 @@ Not all cryptographic algorithms are supported yet. See the [implementation cove
|
|
|
153
153
|
|
|
154
154
|
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
|
|
155
155
|
|
|
156
|
+
For more detailed guides, check out our documentation website:
|
|
157
|
+
- [Contributing Guide]([prod-docs]/docs/guides/contributing)
|
|
158
|
+
- [Writing Documentation]([prod-docs]/docs/guides/writing-documentation)
|
|
159
|
+
|
|
156
160
|
## License
|
|
157
161
|
|
|
158
162
|
- react-native-quick-crypto is licensed under MIT.
|
package/cpp/cipher/CCMCipher.cpp
CHANGED
package/cpp/cipher/GCMCipher.cpp
CHANGED
package/cpp/cipher/OCBCipher.cpp
CHANGED
package/cpp/hash/HybridHash.cpp
CHANGED
package/cpp/hkdf/HybridHkdf.cpp
CHANGED
package/package.json
CHANGED
|
File without changes
|