Skip to content

Commit 7002eb4

Browse files
committed
Format of readme 2
1 parent 5be5d56 commit 7002eb4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ sha256("Test").then( hash => {
2828

2929
# File-Hashes
3030

31-
If you need to calculate SHA-256 hashes from a file, use this method:
31+
If you need to calculate SHA-256 hashes from a file, use this method of react-native-fs:
3232
(https://github.com/itinance/react-native-fs#hashfilepath-string-algorithm-string-promisestring)

ios/sha256.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ @implementation sha256Lib
2222
rejecter: (RCTPromiseRejectBlock) reject)
2323

2424
{
25-
NSLog(@"sha 256 %@", data);
26-
2725
const char* str = [data UTF8String];
2826
unsigned char result[CC_SHA256_DIGEST_LENGTH];
2927
CC_SHA256(str, strlen(str), result);

0 commit comments

Comments
 (0)