]> git.saurik.com Git - apple/security.git/blame - OSX/include/security_cryptkit/NSMD5Hash.h
Security-57336.1.9.tar.gz
[apple/security.git] / OSX / include / security_cryptkit / NSMD5Hash.h
CommitLineData
d8f41ccd 1/* Copyright (c) 1998,2011,2014 Apple Inc. All Rights Reserved.
b1ab9ed8
A
2 *
3 * NOTICE: USE OF THE MATERIALS ACCOMPANYING THIS NOTICE IS SUBJECT
4 * TO THE TERMS OF THE SIGNED "FAST ELLIPTIC ENCRYPTION (FEE) REFERENCE
d8f41ccd
A
5 * SOURCE CODE EVALUATION AGREEMENT" BETWEEN APPLE, INC. AND THE
6 * ORIGINAL LICENSEE THAT OBTAINED THESE MATERIALS FROM APPLE,
b1ab9ed8
A
7 * INC. ANY USE OF THESE MATERIALS NOT PERMITTED BY SUCH AGREEMENT WILL
8 * EXPOSE YOU TO LIABILITY.
9 ***************************************************************************
10 *
11 * NSMD5Hash.h
12 *
13 * Revision History
14 * ----------------
d8f41ccd 15 * 28 Mar 97 at Apple
b1ab9ed8
A
16 * Created.
17 */
18
19#import <Foundation/Foundation.h>
20#import <CryptKit/NSCryptors.h>
21
22@interface NSMD5Hash : NSObject <NSDataDigester>
23
24{
25 void *_priv;
26}
27
28+ digester; // provides a concrete digester
29- init; // reusable
30- (void)digestData:(NSData *)data;
31- (NSData *)messageDigest; // provide digest; re-init
32- (NSData *)digestData:(NSData *)data withSalt:(NSData *)salt;
33
34@end