Declared in NSData+BMKitAdditions.h

Overview

BMKit related additions to the NSData class.

Tasks

Base64 Encoding

Message Digests

Class Methods

dataWithBase64EncodedString:

Returns the decoded data of a Base64-encoded string.

+ (NSData *)dataWithBase64EncodedString:(NSString *)aString

Parameters

aString

A Base64-encoded string.

Return Value

The decoded data of the Base64-encoded string aString, or nil in case of an error.

Declared In

NSData+BMKitAdditions.h

Instance Methods

MD2

Returns the MD2 message digest of the receivers bytes.

- (NSData *)MD2

Return Value

The MD2 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

MD2String

Returns the string representation of the MD2 message digest of the receivers bytes.

- (NSString *)MD2String

Return Value

The string representation of the MD2 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

MD4

Returns the MD4 message digest of the receivers bytes.

- (NSData *)MD4

Return Value

The MD4 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

MD4String

Returns the string representation of the MD4 message digest of the receivers bytes.

- (NSString *)MD4String

Return Value

The string representation of the MD4 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

MD5

Returns the MD5 message digest of the receivers bytes.

- (NSData *)MD5

Return Value

The MD5 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

MD5String

Returns the string representation of the MD5 message digest of the receivers bytes.

- (NSString *)MD5String

Return Value

The string representation of the MD5 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

SHA1

Returns the SHA1 message digest of the receivers bytes.

- (NSData *)SHA1

Return Value

The SHA1 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

SHA1String

Returns the string representation of the SHA1 message digest of the receivers bytes.

- (NSString *)SHA1String

Return Value

The string representation of the SHA1 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

SHA224

Returns the SHA224 message digest of the receivers bytes.

- (NSData *)SHA224

Return Value

The SHA224 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

SHA224String

Returns the string representation of the SHA224 message digest of the receivers bytes.

- (NSString *)SHA224String

Return Value

The string representation of the SHA224 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

SHA256

Returns the SHA256 message digest of the receivers bytes.

- (NSData *)SHA256

Return Value

The SHA256 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

SHA256String

Returns the string representation of the SHA256 message digest of the receivers bytes.

- (NSString *)SHA256String

Return Value

The string representation of the SHA256 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

SHA384

Returns the SHA384 message digest of the receivers bytes.

- (NSData *)SHA384

Return Value

The SHA384 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

SHA384String

Returns the string representation of the SHA384 message digest of the receivers bytes.

- (NSString *)SHA384String

Return Value

The string representation of the SHA384 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

SHA512

Returns the SHA512 message digest of the receivers bytes.

- (NSData *)SHA512

Return Value

The SHA512 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

SHA512String

Returns the string representation of the SHA512 message digest of the receivers bytes.

- (NSString *)SHA512String

Return Value

The string representation of the SHA512 message digest of the receivers bytes.

See Also

Declared In

NSData+BMKitAdditions.h

base64EncodedString

Returns the Base64-encoded content of the receiver.

- (NSString *)base64EncodedString

Return Value

An NSString with the Base64 encoding of the receivers bytes.

Declared In

NSData+BMKitAdditions.h

initWithBase64EncodedString:

Initializes the receiver by decoding the data from a Base64-encoded string.

- (id)initWithBase64EncodedString:(NSString *)aString

Parameters

aString

A Base64-encoded string.

Return Value

The receiver, or nil in case of an error.

Declared In

NSData+BMKitAdditions.h