diff options
Diffstat (limited to 'Source/SPDataAdditions.h')
-rw-r--r-- | Source/SPDataAdditions.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/SPDataAdditions.h b/Source/SPDataAdditions.h index fcf2640c..40bea690 100644 --- a/Source/SPDataAdditions.h +++ b/Source/SPDataAdditions.h @@ -26,9 +26,11 @@ @interface NSData (SPDataAdditions) -- (NSString *) base64EncodingWithLineLength:(unsigned int)lineLength; -- (NSString *) dataToFormattedHexString; -- (NSString *) shortStringRepresentationUsingEncoding:(NSStringEncoding)encoding; +- (NSString *)base64EncodingWithLineLength:(unsigned int)lineLength; +- (NSString *)dataToFormattedHexString; +- (NSString *)shortStringRepresentationUsingEncoding:(NSStringEncoding)encoding; +- (NSData*)dataEncryptedWithPassword:(NSString*)password; +- (NSData*)dataDecryptedWithPassword:(NSString*)password; - (NSData *)compress; - (NSData *)decompress; |