![]() |
IOS Streaming Browser 1.0
An IOS streaming browser to stream the display to others or to a projector
|
00001 /*! \brief DDData 00002 * DDData. */ 00003 00004 #import <Foundation/Foundation.h> 00005 00006 @interface NSData (DDData) 00007 00008 /** 00009 An MD5 digest of 128 bits is represented as 32 ASCII printable characters. The bits in the 128 bit digest are converted from most significant to least significant bit, four bits at a time to their ASCII presentation as follows. Each four bits is represented by its familiar hexadecimal notation from the characters 0123456789abcdef. That is, binary 0000 gets represented by the character '0', 0001, by '1', and so on up to the representation of 1111 as 'f'. 00010 **/ 00011 - (NSData *)md5Digest; 00012 00013 /** 00014 Produces a 160-bit message digest based on principles similar to those used by Ronald L. Rivest of MIT in the design of the MD4 and MD5 message digest algorithms, but has a more conservative design. 00015 **/ 00016 - (NSData *)sha1Digest; 00017 00018 /** 00019 Base 16 value 00020 **/ 00021 - (NSString *)hexStringValue; 00022 00023 /** 00024 Encodes ASCII values into a binary format. The purpose is to encode binary data into a format which is transferred over media which is designed for textual data 00025 **/ 00026 - (NSString *)base64Encoded; 00027 00028 /** 00029 Decodes binary formated data into ASCII values 00030 **/ 00031 - (NSData *)base64Decoded; 00032 00033 @end