Skip to content

Commit 0a88709

Browse files
authored
feat: chacha20 + chacha20-poly1305 + tests (#711)
1 parent 6fc83e8 commit 0a88709

18 files changed

+787
-148
lines changed

bun.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
12.8 KB
Loading

docs/test_suite_results_ios.png

-8.2 KB
Loading

example/ios/Podfile.lock

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,27 +1335,8 @@ PODS:
13351335
- ReactCommon/turbomodule/bridging
13361336
- ReactCommon/turbomodule/core
13371337
- Yoga
1338-
- react-native-quick-base64 (2.1.2):
1339-
- DoubleConversion
1340-
- glog
1341-
- hermes-engine
1342-
- RCT-Folly (= 2024.10.14.00)
1343-
- RCTRequired
1344-
- RCTTypeSafety
1338+
- react-native-quick-base64 (2.2.0):
13451339
- React-Core
1346-
- React-debug
1347-
- React-Fabric
1348-
- React-featureflags
1349-
- React-graphics
1350-
- React-ImageManager
1351-
- React-NativeModulesApple
1352-
- React-RCTFabric
1353-
- React-rendererdebug
1354-
- React-utils
1355-
- ReactCodegen
1356-
- ReactCommon/turbomodule/bridging
1357-
- ReactCommon/turbomodule/core
1358-
- Yoga
13591340
- react-native-safe-area-context (5.1.0):
13601341
- DoubleConversion
13611342
- glog
@@ -2025,7 +2006,7 @@ SPEC CHECKSUMS:
20252006
React-logger: c4052eb941cca9a097ef01b59543a656dc088559
20262007
React-Mapbuffer: 33546a3ebefbccb8770c33a1f8a5554fa96a54de
20272008
React-microtasksnativemodule: d80ff86c8902872d397d9622f1a97aadcc12cead
2028-
react-native-quick-base64: f923222b05cd066ac7f89f54457215fc79cc3760
2009+
react-native-quick-base64: 17dc4b8daee50e680d5f57cc3ee6773b6ee0110a
20292010
react-native-safe-area-context: 60695fadbcee6ab51b28b835abb10ea983dbe181
20302011
React-nativeconfig: 8efdb1ef1e9158c77098a93085438f7e7b463678
20312012
React-NativeModulesApple: cebca2e5320a3d66e123cade23bd90a167ffce5e

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"build:ios": "cd ios && xcodebuild -workspace QuickCrytpExample.xcworkspace -scheme QuickCrytpExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO"
2121
},
2222
"dependencies": {
23-
"@craftzdog/react-native-buffer": "6.0.5",
23+
"@craftzdog/react-native-buffer": "6.1.0",
2424
"@noble/ciphers": "^1.3.0",
2525
"@noble/curves": "^1.7.0",
2626
"@noble/hashes": "^1.5.0",
@@ -36,7 +36,7 @@
3636
"react-native": "0.76.9",
3737
"react-native-bouncy-checkbox": "4.1.2",
3838
"react-native-nitro-modules": "0.25.2",
39-
"react-native-quick-base64": "2.1.2",
39+
"react-native-quick-base64": "2.2.0",
4040
"react-native-quick-crypto": "1.0.0-beta.16",
4141
"react-native-safe-area-context": "5.1.0",
4242
"react-native-screens": "3.35.0",

example/src/hooks/useTestsList.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import type { TestSuites } from '../types/tests';
33
import { TestsContext } from '../tests/util';
44

55
import '../tests/cipher/cipher_tests';
6+
import '../tests/cipher/chacha_tests';
7+
import '../tests/cipher/xsalsa20_tests';
68
import '../tests/ed25519/ed25519_tests';
79
import '../tests/hash/hash_tests';
810
import '../tests/hmac/hmac_tests';

0 commit comments

Comments
 (0)