Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed to use JLog instead of NSLog

  • Loading branch information...
commit 59cfb9b4faaf7dbef4418d956d9d6ee47aa481cd 1 parent 4b99767
@jollyjinx authored
View
1  Categories/NSData+RSAAddition.h
@@ -7,6 +7,7 @@
//
#import <Cocoa/Cocoa.h>
+#import <openssl/pem.h> // defines NID_ripemd160 and NID_sha1
@interface NSData (RSAAddition)
View
2  Categories/NSData+RSAAddition.m
@@ -68,7 +68,7 @@ -(NSData *)RSAencryptWithPublicKey:(NSString *)publicKeyString padding:(int)padd
[completeData appendData:[NSData dataWithBytesNoCopy:(unsigned char *)[encryptedData bytes] length:length freeWhenDone:NO]];
currentposition += encryptedpadding;
}
- DNSLog(@"Encryption end:%@",[completeData description]);
+ DJLog(@"encrypted Data:%@",[completeData description]);
return (NSData *)completeData;
}
View
1  Categories/NSData+ZlibAddition.h
@@ -7,7 +7,6 @@
//
#import <Cocoa/Cocoa.h>
-#import <zlib.h>
View
1  Categories/NSData+ZlibAddition.m
@@ -7,6 +7,7 @@
//
#import "NSData+ZlibAddition.h"
+#import <zlib.h>
@implementation NSData (ZlibAddition)
Please sign in to comment.
Something went wrong with that request. Please try again.