NSData+Hash documentation

Authors

Generated by builder

Contents -

  1. Software documentation for the NSData(Hash) category
  2. Software documentation for the NSString(Base64) category

Software documentation for the NSData(Hash) category

NSData(Hash)

Declared in:
NSData+Hash.h

This NSData category provides methods for base 64 encoding and decoding the value of an NSData object and computing hashes. Uses the OpenSSL base 64 encoding and decoding functionality.

Method summary

base64String 

- (NSString*) base64String;

Returns a string representing the base64-encoded version of the string. This operation can be reversed by sending a -base64DecodedData message to the resulting string.


md5 

- (NSString*) md5;

Returns a string containing the MD5 hash of the data.


ripemd160 

- (NSString*) ripemd160;

Returns a string containing the RIPEMD160 hash of the data.


sha1 

- (NSString*) sha1;

Returns a string containing the SHA1 hash of the data.


Software documentation for the NSString(Base64) category

NSString(Base64)

Declared in:
NSData+Hash.h
Description forthcoming.
Method summary

base64DecodedData 

- (NSData*) base64DecodedData;

Returns an NSData object generated by assuming that the input string is base64-encoded data and decoding it.