]>
git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_cryptkit/lib/NSMD5Hash.h
1 /* Copyright (c) 1998,2011,2014 Apple Inc. All Rights Reserved.
3 * NOTICE: USE OF THE MATERIALS ACCOMPANYING THIS NOTICE IS SUBJECT
4 * TO THE TERMS OF THE SIGNED "FAST ELLIPTIC ENCRYPTION (FEE) REFERENCE
5 * SOURCE CODE EVALUATION AGREEMENT" BETWEEN APPLE, INC. AND THE
6 * ORIGINAL LICENSEE THAT OBTAINED THESE MATERIALS FROM APPLE,
7 * INC. ANY USE OF THESE MATERIALS NOT PERMITTED BY SUCH AGREEMENT WILL
8 * EXPOSE YOU TO LIABILITY.
9 ***************************************************************************
19 #import <Foundation/Foundation.h>
20 #import <CryptKit/NSCryptors.h>
22 @interface NSMD5Hash
: NSObject
<NSDataDigester
>
28 + digester
; // provides a concrete digester
30 - (void)digestData
:(NSData
*)data
;
31 - (NSData
*)messageDigest
; // provide digest; re-init
32 - (NSData
*)digestData
:(NSData
*)data withSalt
:(NSData
*)salt
;