Declared in NSData+DTCrypto.h

Overview

Useful cryptography methods.

Instance Methods

dataWithMD5Hash

Generate an MD5 checksum from the receiver

- (NSData *)dataWithMD5Hash

Return Value

An NSData containing the md5 digest.

Declared In

NSData+DTCrypto.h

dataWithSHA1Hash

Generate an SHA1 checksum from the receiver

- (NSData *)dataWithSHA1Hash

Return Value

An NSData containing the SHA digest.

Declared In

NSData+DTCrypto.h

encryptedDataUsingSHA1WithKey:

Generates a HMAC from the receiver using the SHA1 algorithm

- (NSData *)encryptedDataUsingSHA1WithKey:(NSData *)key

Parameters

key

The encryption key

Return Value

The encrypted hash

Declared In

NSData+DTCrypto.h