MYDigest.h
changeset 24 6856e071d25a
parent 3 1dfe820d7ebe
child 26 d9c2a06d4e4e
     1.1 --- a/MYDigest.h	Wed Apr 08 16:30:52 2009 -0700
     1.2 +++ b/MYDigest.h	Tue Jun 09 23:58:03 2009 -0700
     1.3 @@ -24,16 +24,16 @@
     1.4  - (id) initWithRawDigest: (const void*)rawDigest length: (size_t)length;
     1.5  
     1.6  /** Wraps an existing digest, stored in an NSData object, in a MYDigest object. */
     1.7 -+ (MYDigest*) digestFromDigestData: (NSData*)digestData;
     1.8 ++ (id) digestFromDigestData: (NSData*)digestData;
     1.9  
    1.10  /** Wraps an existing digest, expressed as a hex string, in a MYDigest object. */
    1.11 -+ (MYDigest*) digestFromHexString: (NSString*)hexString;
    1.12 ++ (id) digestFromHexString: (NSString*)hexString;
    1.13  
    1.14  /** Computes a cryptographic digest of the given data. */
    1.15 -+ (MYDigest*) digestOfData: (NSData*)data;
    1.16 ++ (id) digestOfData: (NSData*)data;
    1.17  
    1.18  /** Computes a cryptographic digest of the given data. */
    1.19 -+ (MYDigest*) digestOfBytes: (const void*)bytes length: (size_t)length;
    1.20 ++ (id) digestOfBytes: (const void*)bytes length: (size_t)length;
    1.21  
    1.22  /** Returns the digest as an NSData object. */
    1.23  @property (readonly) NSData *asData;