We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5be5d56 commit 7002eb4Copy full SHA for 7002eb4
README.md
@@ -28,5 +28,5 @@ sha256("Test").then( hash => {
28
29
# File-Hashes
30
31
-If you need to calculate SHA-256 hashes from a file, use this method:
+If you need to calculate SHA-256 hashes from a file, use this method of react-native-fs:
32
(https://github.com/itinance/react-native-fs#hashfilepath-string-algorithm-string-promisestring)
ios/sha256.m
@@ -22,8 +22,6 @@ @implementation sha256Lib
22
rejecter: (RCTPromiseRejectBlock) reject)
23
24
{
25
- NSLog(@"sha 256 %@", data);
26
-
27
const char* str = [data UTF8String];
unsigned char result[CC_SHA256_DIGEST_LENGTH];
CC_SHA256(str, strlen(str), result);
0 commit comments