NSData(KSTExtensions)

@interface NSData (KSTExtensions)

/**
 Creates and returns an NSString representing the SHA1 hash of the receiver's bytes.
 
 @return The NSString hash
 */
- (nullable NSString *)KST_SHA1String;
/**
 Creates and returns an NSString representing the SHA256 hash of the receiver's bytes.
 
 @return The NSString hash
 */
- (nullable NSString *)KST_SHA256String;
/**
 Creates and returns an NSString representing the SHA512 hash of the receiver's bytes.
 
 @return The NSString hash
 */
- (nullable NSString *)KST_SHA512String;

@end

Undocumented

  • Creates and returns an NSString representing the SHA1 hash of the receiver’s bytes.

    Declaration

    Objective-C

    - (nullable NSString *)KST_SHA1String;

    Return Value

    The NSString hash

  • Creates and returns an NSString representing the SHA256 hash of the receiver’s bytes.

    Declaration

    Objective-C

    - (nullable NSString *)KST_SHA256String;

    Return Value

    The NSString hash

  • Creates and returns an NSString representing the SHA512 hash of the receiver’s bytes.

    Declaration

    Objective-C

    - (nullable NSString *)KST_SHA512String;

    Return Value

    The NSString hash